#3E2385#3E2385

#3E2385 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.153 H 288.8°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#3E2385
RGBrgb(62, 35, 133)
HSLhsl(257, 58%, 33%)
HSVhsv(257, 74%, 52%)
CMYKcmyk(53.4%, 73.7%, 0%, 47.8%)
CIE-LABlab(23.40, 37.93, -50.45)
CIE-LCHlch(23.40, 63.12, 306.94°)
OKLaboklab(35.64% 0.0492 -0.1449)
OKLCHoklch(35.64% 0.153 288.8)
XYZxyz(6.8200, 3.9193, 22.5829)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2385 #6A8523
analogous
#233985 #3E2385 #6F2385
triadic
#3E2385 #853E23 #23853E
tetradic
#3E2385 #852339 #6A8523 #23856F
square
#3E2385 #852339 #6A8523 #23856F
split-complementary
#3E2385 #856F23 #398523
monochromatic
#110924 #271655 #3E2385 #5530B5 #7451D1

Accessibility & contrast

On white

11.77
#3E2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3E2385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2385
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2385#FFFFFF#000000##FFFFFF
##3E23851.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#243D51
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3e2385;
/* rgb */ color: rgb(62, 35, 133);
/* oklch */ color: oklch(35.6% 0.153 288.8);
Tailwind
colors: {
  custom: {
    50: '#7b60a9',
    500: '#3e2385',
    950: '#000000',
  },
}
SCSS
$custom: #3e2385;
$custom-light: #7b60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2385",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 256.531,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35641,
    "c": 0.15307,
    "h": 288.8
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

primary
#3E2385
secondary
#99B54F
accent
#E246B7
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E2385

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

Preview Lab → · Contrast checker → · Palette generator →

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