#3E2D83#3E2D83

#3E2D83 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.0% C 0.138 H 286.7°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#3E2D83
RGBrgb(62, 45, 131)
HSLhsl(252, 49%, 35%)
HSVhsv(252, 66%, 51%)
CMYKcmyk(52.7%, 65.6%, 0%, 48.6%)
CIE-LABlab(25.38, 31.43, -45.97)
CIE-LCHlch(25.38, 55.69, 304.36°)
OKLaboklab(37.01% 0.0395 -0.1318)
OKLCHoklch(37.01% 0.138 286.7)
XYZxyz(7.0205, 4.5393, 21.9746)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D83 #72832D
analogous
#2D4783 #3E2D83 #692D83
triadic
#3E2D83 #833E2D #2D833E
tetradic
#3E2D83 #832D47 #72832D #2D8369
square
#3E2D83 #832D47 #72832D #2D8369
split-complementary
#3E2D83 #83692D #47832D
monochromatic
#130E28 #281D55 #3E2D83 #543DB1 #7662C9

Accessibility & contrast

On white

11.01
#3E2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3E2D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2D83
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D83#FFFFFF#000000##FFFFFF
##3E2D831.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#244253
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3e2d83;
/* rgb */ color: rgb(62, 45, 131);
/* oklch */ color: oklch(37.0% 0.138 286.7);
Tailwind
colors: {
  custom: {
    50: '#7a67a8',
    500: '#3e2d83',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d83;
$custom-light: #7a67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d83",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 251.86,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37007,
    "c": 0.13758,
    "h": 286.7
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#3E2D83
secondary
#9FAF5C
accent
#D84FBD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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