#3E1B73#3E1B73

#3E1B73 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.141 H 295.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#3E1B73
RGBrgb(62, 27, 115)
HSLhsl(264, 62%, 28%)
HSVhsv(264, 77%, 45%)
CMYKcmyk(46.1%, 76.5%, 0%, 54.9%)
CIE-LABlab(20.23, 36.92, -44.20)
CIE-LCHlch(20.23, 57.59, 309.87°)
OKLaboklab(32.88% 0.0611 -0.1265)
OKLCHoklch(32.88% 0.141 295.8)
XYZxyz(5.4722, 3.0457, 16.5159)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1B73 #50731B
analogous
#1B2473 #3E1B73 #6A1B73
triadic
#3E1B73 #733E1B #1B733E
tetradic
#3E1B73 #731B24 #50731B #1B736A
square
#3E1B73 #731B24 #50731B #1B736A
split-complementary
#3E1B73 #736A1B #24731B
monochromatic
#0D0619 #230F41 #3E1B73 #5927A5 #7538D0

Accessibility & contrast

On white

13.05
#3E1B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3E1B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1B73
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1B73#FFFFFF#000000##FFFFFF
##3E1B731.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#303245
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3e1b73;
/* rgb */ color: rgb(62, 27, 115);
/* oklch */ color: oklch(32.9% 0.141 295.8);
Tailwind
colors: {
  custom: {
    50: '#795b9c',
    500: '#3e1b73',
    950: '#000000',
  },
}
SCSS
$custom: #3e1b73;
$custom-light: #795b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1b73",
  "rgb": {
    "r": 62,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 263.864,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32881,
    "c": 0.14053,
    "h": 295.8
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#3E1B73
secondary
#7FA842
accent
#E543A4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3E1B73

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

Preview Lab → · Contrast checker → · Palette generator →

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