#3E2084#3E2084

#3E2084 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.155 H 289.6°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#3E2084
RGBrgb(62, 32, 132)
HSLhsl(258, 61%, 32%)
HSVhsv(258, 76%, 52%)
CMYKcmyk(53%, 75.8%, 0%, 48.2%)
CIE-LABlab(22.73, 39.25, -50.92)
CIE-LCHlch(22.73, 64.29, 307.63°)
OKLaboklab(35.14% 0.0522 -0.1463)
OKLCHoklch(35.14% 0.155 289.6)
XYZxyz(6.6668, 3.7228, 22.1926)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2084 #668420
analogous
#203484 #3E2084 #702084
triadic
#3E2084 #843E20 #20843E
tetradic
#3E2084 #842034 #668420 #208470
square
#3E2084 #842034 #668420 #208470
split-complementary
#3E2084 #847020 #348420
monochromatic
#100821 #271453 #3E2084 #552CB5 #744BD3

Accessibility & contrast

On white

12.04
#3E2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3E2084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2084
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2084#FFFFFF#000000##FFFFFF
##3E20841.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#253B50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e2084;
/* rgb */ color: rgb(62, 32, 132);
/* oklch */ color: oklch(35.1% 0.155 289.6);
Tailwind
colors: {
  custom: {
    50: '#7b5fa9',
    500: '#3e2084',
    950: '#000000',
  },
}
SCSS
$custom: #3e2084;
$custom-light: #7b5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2084",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 258,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35138,
    "c": 0.15532,
    "h": 289.6
  },
  "luminance": 0.03723
}

Semantic roles & 50–950 ramp

primary
#3E2084
secondary
#96B64A
accent
#E444B4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E2084

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

Preview Lab → · Contrast checker → · Palette generator →

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