#3E2393#3E2393

#3E2393 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.170 H 285.6°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#3E2393
RGBrgb(62, 35, 147)
HSLhsl(254, 62%, 36%)
HSVhsv(254, 76%, 58%)
CMYKcmyk(57.8%, 76.2%, 0%, 42.4%)
CIE-LABlab(24.74, 42.16, -56.97)
CIE-LCHlch(24.74, 70.87, 306.50°)
OKLaboklab(36.99% 0.0458 -0.164)
OKLCHoklch(36.99% 0.17 285.6)
XYZxyz(7.8525, 4.3323, 28.0205)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2393 #789323
analogous
#234093 #3E2393 #762393
triadic
#3E2393 #933E23 #23933E
tetradic
#3E2393 #932340 #789323 #239376
square
#3E2393 #932340 #789323 #239376
split-complementary
#3E2393 #937623 #409323
monochromatic
#140B30 #291762 #3E2393 #532FC4 #7759D7

Accessibility & contrast

On white

11.25
#3E2393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3E2393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2393
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2393#FFFFFF#000000##FFFFFF
##3E23931.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#144259
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2393;
/* rgb */ color: rgb(62, 35, 147);
/* oklch */ color: oklch(37.0% 0.170 285.6);
Tailwind
colors: {
  custom: {
    50: '#7e61b4',
    500: '#3e2393',
    950: '#000000',
  },
}
SCSS
$custom: #3e2393;
$custom-light: #7e61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2393",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 254.464,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36995,
    "c": 0.17031,
    "h": 285.6
  },
  "luminance": 0.04333
}

Semantic roles & 50–950 ramp

primary
#3E2393
secondary
#A3BC56
accent
#E543BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E2393

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

Preview Lab → · Contrast checker → · Palette generator →

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