#3E2092#3E2092

#3E2092 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.172 H 286.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#3E2092
RGBrgb(62, 32, 146)
HSLhsl(256, 64%, 35%)
HSVhsv(256, 78%, 57%)
CMYKcmyk(57.5%, 78.1%, 0%, 42.7%)
CIE-LABlab(24.10, 43.40, -57.40)
CIE-LCHlch(24.10, 71.96, 307.09°)
OKLaboklab(36.52% 0.0484 -0.1653)
OKLCHoklch(36.52% 0.172 286.3)
XYZxyz(7.6899, 4.1320, 27.5809)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2092 #749220
analogous
#203B92 #3E2092 #772092
triadic
#3E2092 #923E20 #20923E
tetradic
#3E2092 #92203B #749220 #209277
square
#3E2092 #92203B #749220 #209277
split-complementary
#3E2092 #927720 #3B9220
monochromatic
#130A2E #291560 #3E2092 #532BC4 #7653D9

Accessibility & contrast

On white

11.50
#3E2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3E2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2092
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2092#FFFFFF#000000##FFFFFF
##3E20921.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#164158
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3e2092;
/* rgb */ color: rgb(62, 32, 146);
/* oklch */ color: oklch(36.5% 0.172 286.3);
Tailwind
colors: {
  custom: {
    50: '#7e5fb3',
    500: '#3e2092',
    950: '#000000',
  },
}
SCSS
$custom: #3e2092;
$custom-light: #7e5fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2092",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 255.789,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36518,
    "c": 0.1722,
    "h": 286.3
  },
  "luminance": 0.04132
}

Semantic roles & 50–950 ramp

primary
#3E2092
secondary
#A0BD51
accent
#E741BB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E2092

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

Preview Lab → · Contrast checker → · Palette generator →

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