#3E2585#3E2585

#3E2585 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.151 H 288.3°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#3E2585
RGBrgb(62, 37, 133)
HSLhsl(256, 56%, 33%)
HSVhsv(256, 72%, 52%)
CMYKcmyk(53.4%, 72.2%, 0%, 47.8%)
CIE-LABlab(23.80, 36.81, -49.79)
CIE-LCHlch(23.80, 61.92, 306.48°)
OKLaboklab(35.93% 0.0474 -0.143)
OKLCHoklch(35.93% 0.151 288.3)
XYZxyz(6.8806, 4.0404, 22.6031)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2585 #6C8525
analogous
#253C85 #3E2585 #6E2585
triadic
#3E2585 #853E25 #25853E
tetradic
#3E2585 #85253C #6C8525 #25856E
square
#3E2585 #85253C #6C8525 #25856E
split-complementary
#3E2585 #856E25 #3C8525
monochromatic
#110A25 #281855 #3E2585 #5432B5 #7555D0

Accessibility & contrast

On white

11.61
#3E2585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3E2585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2585
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2585#FFFFFF#000000##FFFFFF
##3E25851.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#233E52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3e2585;
/* rgb */ color: rgb(62, 37, 133);
/* oklch */ color: oklch(35.9% 0.151 288.3);
Tailwind
colors: {
  custom: {
    50: '#7b62a9',
    500: '#3e2585',
    950: '#000000',
  },
}
SCSS
$custom: #3e2585;
$custom-light: #7b62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2585",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 255.625,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35927,
    "c": 0.15065,
    "h": 288.3
  },
  "luminance": 0.04041
}

Semantic roles & 50–950 ramp

primary
#3E2585
secondary
#9AB452
accent
#E048B8
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E2585

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

Preview Lab → · Contrast checker → · Palette generator →

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