#3E2284#3E2284

#3E2284 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.153 H 289.2°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#3E2284
RGBrgb(62, 34, 132)
HSLhsl(257, 59%, 33%)
HSVhsv(257, 74%, 52%)
CMYKcmyk(53%, 74.2%, 0%, 48.2%)
CIE-LABlab(23.11, 38.18, -50.30)
CIE-LCHlch(23.11, 63.14, 307.20°)
OKLaboklab(35.41% 0.0504 -0.1445)
OKLCHoklch(35.41% 0.153 289.2)
XYZxyz(6.7223, 3.8338, 22.2111)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2284 #688422
analogous
#223784 #3E2284 #6F2284
triadic
#3E2284 #843E22 #22843E
tetradic
#3E2284 #842237 #688422 #22846F
square
#3E2284 #842237 #688422 #22846F
split-complementary
#3E2284 #846F22 #378422
monochromatic
#100923 #271553 #3E2284 #552FB5 #744FD2

Accessibility & contrast

On white

11.89
#3E2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3E2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2284
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2284#FFFFFF#000000##FFFFFF
##3E22841.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#243C51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e2284;
/* rgb */ color: rgb(62, 34, 132);
/* oklch */ color: oklch(35.4% 0.153 289.2);
Tailwind
colors: {
  custom: {
    50: '#7b60a9',
    500: '#3e2284',
    950: '#000000',
  },
}
SCSS
$custom: #3e2284;
$custom-light: #7b60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2284",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 257.143,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35408,
    "c": 0.153,
    "h": 289.2
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

primary
#3E2284
secondary
#97B54D
accent
#E246B5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E2284

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

Preview Lab → · Contrast checker → · Palette generator →

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