#46337F#46337F

#46337F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.5% C 0.123 H 291.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#46337F
RGBrgb(70, 51, 127)
HSLhsl(255, 43%, 35%)
HSVhsv(255, 60%, 50%)
CMYKcmyk(44.9%, 59.8%, 0%, 50.2%)
CIE-LABlab(27.30, 28.19, -40.31)
CIE-LCHlch(27.30, 49.18, 304.96°)
OKLaboklab(38.51% 0.0441 -0.1149)
OKLCHoklch(38.51% 0.123 291)
XYZxyz(7.5393, 5.2018, 20.6814)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46337F #6C7F33
analogous
#33467F #46337F #6C337F
triadic
#46337F #7F4633 #337F46
tetradic
#46337F #7F3346 #6C7F33 #337F6C
square
#46337F #7F3346 #6C7F33 #337F6C
split-complementary
#46337F #7F6C33 #467F33
monochromatic
#161028 #2E2153 #46337F #5E45AB #8069C3

Accessibility & contrast

On white

10.29
#46337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#46337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46337F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46337F#FFFFFF#000000##FFFFFF
##46337F1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024282
Deuteranopia (green-blind)
#093F7D
Tritanopia (blue-blind)
#364454
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #46337f;
/* rgb */ color: rgb(70, 51, 127);
/* oklch */ color: oklch(38.5% 0.123 291.0);
Tailwind
colors: {
  custom: {
    50: '#7e6ba5',
    500: '#46337f',
    950: '#000000',
  },
}
SCSS
$custom: #46337f;
$custom-light: #7e6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#46337f",
  "rgb": {
    "r": 70,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 255,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38509,
    "c": 0.12304,
    "h": 291
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#46337F
secondary
#99AB63
accent
#D255B3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #46337F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#46337F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva