#3E249F#3E249F

#3E249F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.184 H 283.2°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#3E249F
RGBrgb(62, 36, 159)
HSLhsl(253, 63%, 38%)
HSVhsv(253, 77%, 62%)
CMYKcmyk(61%, 77.4%, 0%, 37.6%)
CIE-LABlab(26.12, 45.26, -62.06)
CIE-LCHlch(26.12, 76.81, 306.10°)
OKLaboklab(38.33% 0.0419 -0.1789)
OKLCHoklch(38.33% 0.184 283.2)
XYZxyz(8.8736, 4.7885, 33.2508)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E249F #859F24
analogous
#24479F #3E249F #7B249F
triadic
#3E249F #9F3E24 #249F3E
tetradic
#3E249F #9F2447 #859F24 #249F7B
square
#3E249F #9F2447 #859F24 #249F7B
split-complementary
#3E249F #9F7B24 #479F24
monochromatic
#170D3B #2B196D #3E249F #5230D0 #7C62DB

Accessibility & contrast

On white

10.73
#3E249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3E249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E249F
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E249F#FFFFFF#000000##FFFFFF
##3E249F1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e249f;
/* rgb */ color: rgb(62, 36, 159);
/* oklch */ color: oklch(38.3% 0.184 283.2);
Tailwind
colors: {
  custom: {
    50: '#8062bd',
    500: '#3e249f',
    950: '#000000',
  },
}
SCSS
$custom: #3e249f;
$custom-light: #8062bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e249f",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 252.683,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38329,
    "c": 0.18374,
    "h": 283.2
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#3E249F
secondary
#ACC15E
accent
#E642C3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E249F

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

Preview Lab → · Contrast checker → · Palette generator →

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