#3E2288#3E2288

#3E2288 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.158 H 288.2°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#3E2288
RGBrgb(62, 34, 136)
HSLhsl(256, 60%, 33%)
HSVhsv(256, 75%, 53%)
CMYKcmyk(54.4%, 75%, 0%, 46.7%)
CIE-LABlab(23.49, 39.38, -52.19)
CIE-LCHlch(23.49, 65.38, 307.04°)
OKLaboklab(35.79% 0.0494 -0.15)
OKLCHoklch(35.79% 0.158 288.2)
XYZxyz(7.0013, 3.9454, 23.6804)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2288 #6C8822
analogous
#223988 #3E2288 #712288
triadic
#3E2288 #883E22 #22883E
tetradic
#3E2288 #882239 #6C8822 #228871
square
#3E2288 #882239 #6C8822 #228871
split-complementary
#3E2288 #887122 #398822
monochromatic
#110A26 #281657 #3E2288 #542EB9 #7551D3

Accessibility & contrast

On white

11.74
#3E2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3E2288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2288
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2288#FFFFFF#000000##FFFFFF
##3E22881.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#213E53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3e2288;
/* rgb */ color: rgb(62, 34, 136);
/* oklch */ color: oklch(35.8% 0.158 288.2);
Tailwind
colors: {
  custom: {
    50: '#7c60ac',
    500: '#3e2288',
    950: '#000000',
  },
}
SCSS
$custom: #3e2288;
$custom-light: #7c60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2288",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 256.471,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35789,
    "c": 0.15795,
    "h": 288.2
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#3E2288
secondary
#9AB74F
accent
#E345B8
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E2288

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

Preview Lab → · Contrast checker → · Palette generator →

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