#3E2C84#3E2C84

#3E2C84 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.9% C 0.140 H 286.8°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#3E2C84
RGBrgb(62, 44, 132)
HSLhsl(252, 50%, 35%)
HSVhsv(252, 67%, 52%)
CMYKcmyk(53%, 66.7%, 0%, 48.2%)
CIE-LABlab(25.23, 32.36, -46.84)
CIE-LCHlch(25.23, 56.93, 304.64°)
OKLaboklab(36.93% 0.0405 -0.1343)
OKLCHoklch(36.93% 0.14 286.8)
XYZxyz(7.0509, 4.4911, 22.3207)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2C84 #72842C
analogous
#2C4684 #3E2C84 #6A2C84
triadic
#3E2C84 #843E2C #2C843E
tetradic
#3E2C84 #842C46 #72842C #2C846A
square
#3E2C84 #842C46 #72842C #2C846A
split-complementary
#3E2C84 #846A2C #46842C
monochromatic
#130D28 #281D56 #3E2C84 #543BB2 #7660CA

Accessibility & contrast

On white

11.06
#3E2C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3E2C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2C84
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2C84#FFFFFF#000000##FFFFFF
##3E2C841.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#244254
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3e2c84;
/* rgb */ color: rgb(62, 44, 132);
/* oklch */ color: oklch(36.9% 0.140 286.8);
Tailwind
colors: {
  custom: {
    50: '#7a66a9',
    500: '#3e2c84',
    950: '#000000',
  },
}
SCSS
$custom: #3e2c84;
$custom-light: #7a66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2c84",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 252.273,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36926,
    "c": 0.1403,
    "h": 286.8
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#3E2C84
secondary
#9FB05C
accent
#DA4EBD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2C84

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

Preview Lab → · Contrast checker → · Palette generator →

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