#3E2289#3E2289

#3E2289 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.159 H 288.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#3E2289
RGBrgb(62, 34, 137)
HSLhsl(256, 60%, 34%)
HSVhsv(256, 75%, 54%)
CMYKcmyk(54.7%, 75.2%, 0%, 46.3%)
CIE-LABlab(23.59, 39.68, -52.66)
CIE-LCHlch(23.59, 65.93, 307.00°)
OKLaboklab(35.89% 0.0492 -0.1514)
OKLCHoklch(35.89% 0.159 288)
XYZxyz(7.0727, 3.9740, 24.0564)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2289 #6D8922
analogous
#223989 #3E2289 #712289
triadic
#3E2289 #893E22 #22893E
tetradic
#3E2289 #892239 #6D8922 #228971
square
#3E2289 #892239 #6D8922 #228971
split-complementary
#3E2289 #897122 #398922
monochromatic
#120A27 #281658 #3E2289 #542EBA #7551D4

Accessibility & contrast

On white

11.70
#3E2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2289
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2289#FFFFFF#000000##FFFFFF
##3E22891.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#203E53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3e2289;
/* rgb */ color: rgb(62, 34, 137);
/* oklch */ color: oklch(35.9% 0.159 288.0);
Tailwind
colors: {
  custom: {
    50: '#7c60ac',
    500: '#3e2289',
    950: '#000000',
  },
}
SCSS
$custom: #3e2289;
$custom-light: #7c60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2289",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 256.311,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35886,
    "c": 0.15918,
    "h": 288
  },
  "luminance": 0.03974
}

Semantic roles & 50–950 ramp

primary
#3E2289
secondary
#9BB84F
accent
#E344B8
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E2289

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

Preview Lab → · Contrast checker → · Palette generator →

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