#3E2076#3E2076

#3E2076 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.138 H 293.7°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#3E2076
RGBrgb(62, 32, 118)
HSLhsl(261, 57%, 29%)
HSVhsv(261, 73%, 46%)
CMYKcmyk(47.5%, 72.9%, 0%, 53.7%)
CIE-LABlab(21.45, 35.11, -44.13)
CIE-LCHlch(21.45, 56.40, 308.51°)
OKLaboklab(33.83% 0.0554 -0.1264)
OKLCHoklch(33.83% 0.138 293.7)
XYZxyz(5.7722, 3.3650, 17.4814)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2076 #587620
analogous
#202D76 #3E2076 #692076
triadic
#3E2076 #763E20 #20763E
tetradic
#3E2076 #76202D #587620 #207669
square
#3E2076 #76202D #587620 #207669
split-complementary
#3E2076 #766920 #2D7620
monochromatic
#0D0718 #251346 #3E2076 #572DA6 #7444CC

Accessibility & contrast

On white

12.55
#3E2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3E2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2076
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2076#FFFFFF#000000##FFFFFF
##3E20761.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#2E3648
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3e2076;
/* rgb */ color: rgb(62, 32, 118);
/* oklch */ color: oklch(33.8% 0.138 293.7);
Tailwind
colors: {
  custom: {
    50: '#795e9e',
    500: '#3e2076',
    950: '#000000',
  },
}
SCSS
$custom: #3e2076;
$custom-light: #795e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2076",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 260.93,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33833,
    "c": 0.13796,
    "h": 293.7
  },
  "luminance": 0.03365
}

Semantic roles & 50–950 ramp

primary
#3E2076
secondary
#88A948
accent
#E147AB
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3E2076

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

Preview Lab → · Contrast checker → · Palette generator →

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