#3E2192#3E2192

#3E2192 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.171 H 286.2°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#3E2192
RGBrgb(62, 33, 146)
HSLhsl(255, 63%, 35%)
HSVhsv(255, 77%, 57%)
CMYKcmyk(57.5%, 77.4%, 0%, 42.7%)
CIE-LABlab(24.28, 42.89, -57.11)
CIE-LCHlch(24.28, 71.42, 306.91°)
OKLaboklab(36.64% 0.0476 -0.1644)
OKLCHoklch(36.64% 0.171 286.2)
XYZxyz(7.7172, 4.1867, 27.5900)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2192 #759221
analogous
#213D92 #3E2192 #762192
triadic
#3E2192 #923E21 #21923E
tetradic
#3E2192 #92213D #759221 #219276
square
#3E2192 #92213D #759221 #219276
split-complementary
#3E2192 #927621 #3D9221
monochromatic
#140A2E #291660 #3E2192 #532CC4 #7755D9

Accessibility & contrast

On white

11.43
#3E2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3E2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2192
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2192#FFFFFF#000000##FFFFFF
##3E21921.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e2192;
/* rgb */ color: rgb(62, 33, 146);
/* oklch */ color: oklch(36.6% 0.171 286.2);
Tailwind
colors: {
  custom: {
    50: '#7e60b3',
    500: '#3e2192',
    950: '#000000',
  },
}
SCSS
$custom: #3e2192;
$custom-light: #7e60b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2192",
  "rgb": {
    "r": 62,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 255.398,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36641,
    "c": 0.17119,
    "h": 286.2
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

primary
#3E2192
secondary
#A1BC53
accent
#E642BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E2192

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

Preview Lab → · Contrast checker → · Palette generator →

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