#3E249E#3E249E

#3E249E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.183 H 283.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#3E249E
RGBrgb(62, 36, 158)
HSLhsl(253, 63%, 38%)
HSVhsv(253, 77%, 62%)
CMYKcmyk(60.8%, 77.2%, 0%, 38%)
CIE-LABlab(26.02, 44.96, -61.61)
CIE-LCHlch(26.02, 76.27, 306.12°)
OKLaboklab(38.23% 0.0422 -0.1776)
OKLCHoklch(38.23% 0.183 283.4)
XYZxyz(8.7871, 4.7539, 32.7957)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E249E #849E24
analogous
#24479E #3E249E #7B249E
triadic
#3E249E #9E3E24 #249E3E
tetradic
#3E249E #9E2447 #849E24 #249E7B
square
#3E249E #9E2447 #849E24 #249E7B
split-complementary
#3E249E #9E7B24 #479E24
monochromatic
#170D3A #2A196C #3E249E #522FD0 #7B61DB

Accessibility & contrast

On white

10.76
#3E249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E249E
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E249E#FFFFFF#000000##FFFFFF
##3E249E1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e249e;
/* rgb */ color: rgb(62, 36, 158);
/* oklch */ color: oklch(38.2% 0.183 283.4);
Tailwind
colors: {
  custom: {
    50: '#7f62bc',
    500: '#3e249e',
    950: '#000000',
  },
}
SCSS
$custom: #3e249e;
$custom-light: #7f62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e249e",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 252.787,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38227,
    "c": 0.18255,
    "h": 283.4
  },
  "luminance": 0.04755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E249E

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

Preview Lab → · Contrast checker → · Palette generator →

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