#3E2392#3E2392

#3E2392 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.169 H 285.8°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#3E2392
RGBrgb(62, 35, 146)
HSLhsl(255, 61%, 35%)
HSVhsv(255, 76%, 57%)
CMYKcmyk(57.5%, 76%, 0%, 42.7%)
CIE-LABlab(24.64, 41.86, -56.51)
CIE-LCHlch(24.64, 70.33, 306.53°)
OKLaboklab(36.9% 0.0461 -0.1627)
OKLCHoklch(36.9% 0.169 285.8)
XYZxyz(7.7744, 4.3011, 27.6091)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2392 #779223
analogous
#233F92 #3E2392 #762392
triadic
#3E2392 #923E23 #23923E
tetradic
#3E2392 #92233F #779223 #239276
square
#3E2392 #92233F #779223 #239276
split-complementary
#3E2392 #927623 #3F9223
monochromatic
#140B2F #291761 #3E2392 #532FC3 #7758D7

Accessibility & contrast

On white

11.29
#3E2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3E2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2392
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2392#FFFFFF#000000##FFFFFF
##3E23921.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#164259
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e2392;
/* rgb */ color: rgb(62, 35, 146);
/* oklch */ color: oklch(36.9% 0.169 285.8);
Tailwind
colors: {
  custom: {
    50: '#7d61b3',
    500: '#3e2392',
    950: '#000000',
  },
}
SCSS
$custom: #3e2392;
$custom-light: #7d61b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2392",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 254.595,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36896,
    "c": 0.1691,
    "h": 285.8
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#3E2392
secondary
#A3BB55
accent
#E443BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E2392

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

Preview Lab → · Contrast checker → · Palette generator →

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