#3E289A#3E289A

#3E289A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.174 H 283.4°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#3E289A
RGBrgb(62, 40, 154)
HSLhsl(252, 59%, 38%)
HSVhsv(252, 74%, 60%)
CMYKcmyk(59.7%, 74%, 0%, 39.6%)
CIE-LABlab(26.37, 41.62, -58.59)
CIE-LCHlch(26.37, 71.87, 305.39°)
OKLaboklab(38.35% 0.0403 -0.1688)
OKLCHoklch(38.35% 0.174 283.4)
XYZxyz(8.5763, 4.8743, 31.0545)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E289A #849A28
analogous
#284B9A #3E289A #77289A
triadic
#3E289A #9A3E28 #289A3E
tetradic
#3E289A #9A284B #849A28 #289A77
square
#3E289A #9A284B #849A28 #289A77
split-complementary
#3E289A #9A7728 #4B9A28
monochromatic
#170F39 #2A1B69 #3E289A #5235CA #7B65D7

Accessibility & contrast

On white

10.63
#3E289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3E289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E289A
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E289A#FFFFFF#000000##FFFFFF
##3E289A1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#04475E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e289a;
/* rgb */ color: rgb(62, 40, 154);
/* oklch */ color: oklch(38.4% 0.174 283.4);
Tailwind
colors: {
  custom: {
    50: '#7e64b9',
    500: '#3e289a',
    950: '#000000',
  },
}
SCSS
$custom: #3e289a;
$custom-light: #7e64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e289a",
  "rgb": {
    "r": 62,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 251.579,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38355,
    "c": 0.17354,
    "h": 283.4
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#3E289A
secondary
#ABBD61
accent
#E246C4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E289A

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

Preview Lab → · Contrast checker → · Palette generator →

#3E289A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva