#3E249B#3E249B

#3E249B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.179 H 283.9°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#3E249B
RGBrgb(62, 36, 155)
HSLhsl(253, 62%, 37%)
HSVhsv(253, 77%, 61%)
CMYKcmyk(60%, 76.8%, 0%, 39.2%)
CIE-LABlab(25.72, 44.05, -60.28)
CIE-LCHlch(25.72, 74.66, 306.16°)
OKLaboklab(37.92% 0.043 -0.1737)
OKLCHoklch(37.92% 0.179 283.9)
XYZxyz(8.5321, 4.6519, 31.4523)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E249B #819B24
analogous
#24469B #3E249B #79249B
triadic
#3E249B #9B3E24 #249B3E
tetradic
#3E249B #9B2446 #819B24 #249B79
square
#3E249B #9B2446 #819B24 #249B79
split-complementary
#3E249B #9B7924 #469B24
monochromatic
#160D38 #2A1869 #3E249B #5230CD #7A5FDA

Accessibility & contrast

On white

10.88
#3E249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3E249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E249B
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E249B#FFFFFF#000000##FFFFFF
##3E249B1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#02465E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e249b;
/* rgb */ color: rgb(62, 36, 155);
/* oklch */ color: oklch(37.9% 0.179 283.9);
Tailwind
colors: {
  custom: {
    50: '#7f62ba',
    500: '#3e249b',
    950: '#000000',
  },
}
SCSS
$custom: #3e249b;
$custom-light: #7f62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e249b",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 253.109,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37923,
    "c": 0.17895,
    "h": 283.9
  },
  "luminance": 0.04652
}

Semantic roles & 50–950 ramp

primary
#3E249B
secondary
#A9BF5C
accent
#E542C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E249B

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

Preview Lab → · Contrast checker → · Palette generator →

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