#3E2F85#3E2F85

#3E2F85 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.5% C 0.138 H 285.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#3E2F85
RGBrgb(62, 47, 133)
HSLhsl(250, 48%, 35%)
HSVhsv(250, 65%, 52%)
CMYKcmyk(53.4%, 64.7%, 0%, 47.8%)
CIE-LABlab(26.01, 30.83, -46.20)
CIE-LCHlch(26.01, 55.54, 303.71°)
OKLaboklab(37.52% 0.0372 -0.1325)
OKLCHoklch(37.52% 0.138 285.7)
XYZxyz(7.2355, 4.7502, 22.7214)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2F85 #76852F
analogous
#2F4B85 #3E2F85 #692F85
triadic
#3E2F85 #853E2F #2F853E
tetradic
#3E2F85 #852F4B #76852F #2F8569
square
#3E2F85 #852F4B #76852F #2F8569
split-complementary
#3E2F85 #85692F #4B852F
monochromatic
#140F2B #291F58 #3E2F85 #533FB2 #7766C9

Accessibility & contrast

On white

10.77
#3E2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3E2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2F85
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2F85#FFFFFF#000000##FFFFFF
##3E2F851.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#224455
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e2f85;
/* rgb */ color: rgb(62, 47, 133);
/* oklch */ color: oklch(37.5% 0.138 285.7);
Tailwind
colors: {
  custom: {
    50: '#7a68a9',
    500: '#3e2f85',
    950: '#000000',
  },
}
SCSS
$custom: #3e2f85;
$custom-light: #7a68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2f85",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 250.465,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37518,
    "c": 0.13756,
    "h": 285.7
  },
  "luminance": 0.04751
}

Semantic roles & 50–950 ramp

primary
#3E2F85
secondary
#A2B060
accent
#D750C0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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