#3E2199#3E2199

#3E2199 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.180 H 284.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#3E2199
RGBrgb(62, 33, 153)
HSLhsl(255, 65%, 36%)
HSVhsv(255, 78%, 60%)
CMYKcmyk(59.5%, 78.4%, 0%, 40%)
CIE-LABlab(24.99, 44.97, -60.26)
CIE-LCHlch(24.99, 75.19, 306.73°)
OKLaboklab(37.35% 0.0456 -0.1736)
OKLCHoklch(37.35% 0.18 284.7)
XYZxyz(8.2785, 4.4112, 30.5460)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2199 #7C9921
analogous
#214099 #3E2199 #7A2199
triadic
#3E2199 #993E21 #21993E
tetradic
#3E2199 #992140 #7C9921 #21997A
square
#3E2199 #992140 #7C9921 #21997A
split-complementary
#3E2199 #997A21 #409921
monochromatic
#150B34 #2A1667 #3E2199 #522CCB #7959DB

Accessibility & contrast

On white

11.16
#3E2199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3E2199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2199
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2199#FFFFFF#000000##FFFFFF
##3E21991.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#08445C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2199;
/* rgb */ color: rgb(62, 33, 153);
/* oklch */ color: oklch(37.4% 0.180 284.7);
Tailwind
colors: {
  custom: {
    50: '#7f60b8',
    500: '#3e2199',
    950: '#000000',
  },
}
SCSS
$custom: #3e2199;
$custom-light: #7f60b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2199",
  "rgb": {
    "r": 62,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 254.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3735,
    "c": 0.17952,
    "h": 284.7
  },
  "luminance": 0.04412
}

Semantic roles & 50–950 ramp

primary
#3E2199
secondary
#A6BF56
accent
#E840BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3E2199

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

Preview Lab → · Contrast checker → · Palette generator →

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