#3E1B67#3E1B67

#3E1B67 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.126 H 300.4°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#3E1B67
RGBrgb(62, 27, 103)
HSLhsl(268, 58%, 25%)
HSVhsv(268, 74%, 40%)
CMYKcmyk(39.8%, 73.8%, 0%, 59.6%)
CIE-LABlab(19.17, 33.55, -38.13)
CIE-LCHlch(19.17, 50.79, 311.35°)
OKLaboklab(31.8% 0.0637 -0.1087)
OKLCHoklch(31.8% 0.126 300.4)
XYZxyz(4.8261, 2.7872, 13.1131)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1B67 #44671B
analogous
#1B1E67 #3E1B67 #641B67
triadic
#3E1B67 #673E1B #1B673E
tetradic
#3E1B67 #671B1E #44671B #1B6764
square
#3E1B67 #671B1E #44671B #1B6764
split-complementary
#3E1B67 #67641B #1E671B
monochromatic
#0F0618 #210E37 #3E1B67 #5B2897 #7834C8

Accessibility & contrast

On white

13.48
#3E1B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3E1B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1B67
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1B67#FFFFFF#000000##FFFFFF
##3E1B671.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002E65
Tritanopia (blue-blind)
#352D3F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3e1b67;
/* rgb */ color: rgb(62, 27, 103);
/* oklch */ color: oklch(31.8% 0.126 300.4);
Tailwind
colors: {
  custom: {
    50: '#775a93',
    500: '#3e1b67',
    950: '#000000',
  },
}
SCSS
$custom: #3e1b67;
$custom-light: #775a93;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1b67",
  "rgb": {
    "r": 62,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 267.632,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31804,
    "c": 0.12598,
    "h": 300.4
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#3E1B67
secondary
#729C42
accent
#E2469A
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3E1B67

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

Preview Lab → · Contrast checker → · Palette generator →

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