#3E289F#3E289F

#3E289F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.180 H 282.6°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#3E289F
RGBrgb(62, 40, 159)
HSLhsl(251, 60%, 39%)
HSVhsv(251, 75%, 62%)
CMYKcmyk(61%, 74.8%, 0%, 37.6%)
CIE-LABlab(26.86, 43.17, -60.84)
CIE-LCHlch(26.86, 74.60, 305.35°)
OKLaboklab(38.85% 0.0391 -0.1754)
OKLCHoklch(38.85% 0.18 282.6)
XYZxyz(9.0015, 5.0443, 33.2935)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E289F #899F28
analogous
#284E9F #3E289F #7A289F
triadic
#3E289F #9F3E28 #289F3E
tetradic
#3E289F #9F284E #899F28 #289F7A
square
#3E289F #9F284E #899F28 #289F7A
split-complementary
#3E289F #9F7A28 #4E9F28
monochromatic
#180F3D #2B1C6E #3E289F #5337CD #7D68D9

Accessibility & contrast

On white

10.45
#3E289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3E289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E289F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E289F#FFFFFF#000000##FFFFFF
##3E289F1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e289f;
/* rgb */ color: rgb(62, 40, 159);
/* oklch */ color: oklch(38.8% 0.180 282.6);
Tailwind
colors: {
  custom: {
    50: '#7f65bc',
    500: '#3e289f',
    950: '#000000',
  },
}
SCSS
$custom: #3e289f;
$custom-light: #7f65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e289f",
  "rgb": {
    "r": 62,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 251.092,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38847,
    "c": 0.17969,
    "h": 282.6
  },
  "luminance": 0.05045
}

Semantic roles & 50–950 ramp

primary
#3E289F
secondary
#AEBF64
accent
#E345C6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E289F

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

Preview Lab → · Contrast checker → · Palette generator →

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