#3E2394#3E2394

#3E2394 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.172 H 285.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#3E2394
RGBrgb(62, 35, 148)
HSLhsl(254, 62%, 36%)
HSVhsv(254, 76%, 58%)
CMYKcmyk(58.1%, 76.4%, 0%, 42%)
CIE-LABlab(24.84, 42.46, -57.43)
CIE-LCHlch(24.84, 71.42, 306.48°)
OKLaboklab(37.1% 0.0456 -0.1654)
OKLCHoklch(37.1% 0.172 285.4)
XYZxyz(7.9313, 4.3638, 28.4356)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2394 #799423
analogous
#234094 #3E2394 #762394
triadic
#3E2394 #943E23 #23943E
tetradic
#3E2394 #942340 #799423 #239476
square
#3E2394 #942340 #799423 #239476
split-complementary
#3E2394 #947623 #409423
monochromatic
#150C31 #291763 #3E2394 #532FC5 #785AD8

Accessibility & contrast

On white

11.21
#3E2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2394
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2394#FFFFFF#000000##FFFFFF
##3E23941.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#12435A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2394;
/* rgb */ color: rgb(62, 35, 148);
/* oklch */ color: oklch(37.1% 0.172 285.4);
Tailwind
colors: {
  custom: {
    50: '#7e61b4',
    500: '#3e2394',
    950: '#000000',
  },
}
SCSS
$custom: #3e2394;
$custom-light: #7e61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2394",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 254.336,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37095,
    "c": 0.17152,
    "h": 285.4
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E2394

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

Preview Lab → · Contrast checker → · Palette generator →

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