#3E2292#3E2292

#3E2292 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.170 H 286.0°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#3E2292
RGBrgb(62, 34, 146)
HSLhsl(255, 62%, 35%)
HSVhsv(255, 77%, 57%)
CMYKcmyk(57.5%, 76.7%, 0%, 42.7%)
CIE-LABlab(24.46, 42.38, -56.82)
CIE-LCHlch(24.46, 70.88, 306.72°)
OKLaboklab(36.77% 0.0469 -0.1636)
OKLCHoklch(36.77% 0.17 286)
XYZxyz(7.7454, 4.2431, 27.5994)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2292 #769222
analogous
#223E92 #3E2292 #762292
triadic
#3E2292 #923E22 #22923E
tetradic
#3E2292 #92223E #769222 #229276
square
#3E2292 #92223E #769222 #229276
split-complementary
#3E2292 #927622 #3E9222
monochromatic
#140B2F #291660 #3E2292 #532EC4 #7757D8

Accessibility & contrast

On white

11.36
#3E2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3E2292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2292
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2292#FFFFFF#000000##FFFFFF
##3E22921.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#164158
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e2292;
/* rgb */ color: rgb(62, 34, 146);
/* oklch */ color: oklch(36.8% 0.170 286.0);
Tailwind
colors: {
  custom: {
    50: '#7d61b3',
    500: '#3e2292',
    950: '#000000',
  },
}
SCSS
$custom: #3e2292;
$custom-light: #7d61b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2292",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 255,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36767,
    "c": 0.17015,
    "h": 286
  },
  "luminance": 0.04244
}

Semantic roles & 50–950 ramp

primary
#3E2292
secondary
#A2BC54
accent
#E543BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E2292

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

Preview Lab → · Contrast checker → · Palette generator →

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