#3E249C#3E249C

#3E249C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.180 H 283.7°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#3E249C
RGBrgb(62, 36, 156)
HSLhsl(253, 63%, 38%)
HSVhsv(253, 77%, 61%)
CMYKcmyk(60.3%, 76.9%, 0%, 38.8%)
CIE-LABlab(25.82, 44.35, -60.73)
CIE-LCHlch(25.82, 75.20, 306.14°)
OKLaboklab(38.02% 0.0427 -0.175)
OKLCHoklch(38.02% 0.18 283.7)
XYZxyz(8.6164, 4.6856, 31.8964)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E249C #829C24
analogous
#24469C #3E249C #7A249C
triadic
#3E249C #9C3E24 #249C3E
tetradic
#3E249C #9C2446 #829C24 #249C7A
square
#3E249C #9C2446 #829C24 #249C7A
split-complementary
#3E249C #9C7A24 #469C24
monochromatic
#160D39 #2A196A #3E249C #522FCE #7B60DA

Accessibility & contrast

On white

10.84
#3E249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3E249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E249C
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E249C#FFFFFF#000000##FFFFFF
##3E249C1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e249c;
/* rgb */ color: rgb(62, 36, 156);
/* oklch */ color: oklch(38.0% 0.180 283.7);
Tailwind
colors: {
  custom: {
    50: '#7f62ba',
    500: '#3e249c',
    950: '#000000',
  },
}
SCSS
$custom: #3e249c;
$custom-light: #7f62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e249c",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 253,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38024,
    "c": 0.18015,
    "h": 283.7
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#3E249C
secondary
#AABF5C
accent
#E642C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E249C

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

Preview Lab → · Contrast checker → · Palette generator →

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