#3E289D#3E289D

#3E289D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.177 H 282.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#3E289D
RGBrgb(62, 40, 157)
HSLhsl(251, 59%, 39%)
HSVhsv(251, 75%, 62%)
CMYKcmyk(60.5%, 74.5%, 0%, 38.4%)
CIE-LABlab(26.66, 42.55, -59.95)
CIE-LCHlch(26.66, 73.51, 305.37°)
OKLaboklab(38.65% 0.0396 -0.1728)
OKLCHoklch(38.65% 0.177 282.9)
XYZxyz(8.8293, 4.9754, 32.3868)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E289D #879D28
analogous
#284C9D #3E289D #78289D
triadic
#3E289D #9D3E28 #289D3E
tetradic
#3E289D #9D284C #879D28 #289D78
square
#3E289D #9D284C #879D28 #289D78
split-complementary
#3E289D #9D7828 #4C9D28
monochromatic
#170F3B #2B1C6C #3E289D #5236CC #7C67D8

Accessibility & contrast

On white

10.53
#3E289D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3E289D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E289D
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E289D#FFFFFF#000000##FFFFFF
##3E289D1.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e289d;
/* rgb */ color: rgb(62, 40, 157);
/* oklch */ color: oklch(38.6% 0.177 282.9);
Tailwind
colors: {
  custom: {
    50: '#7f65bb',
    500: '#3e289d',
    950: '#000000',
  },
}
SCSS
$custom: #3e289d;
$custom-light: #7f65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e289d",
  "rgb": {
    "r": 62,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 251.282,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3865,
    "c": 0.17724,
    "h": 282.9
  },
  "luminance": 0.04976
}

Semantic roles & 50–950 ramp

primary
#3E289D
secondary
#ADBE62
accent
#E345C5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E289D

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

Preview Lab → · Contrast checker → · Palette generator →

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