#3E1B60#3E1B60

#3E1B60 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.2% C 0.117 H 303.5°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#3E1B60
RGBrgb(62, 27, 96)
HSLhsl(270, 56%, 24%)
HSVhsv(270, 72%, 38%)
CMYKcmyk(35.4%, 71.9%, 0%, 62.4%)
CIE-LABlab(18.59, 31.62, -34.45)
CIE-LCHlch(18.59, 46.76, 312.55°)
OKLaboklab(31.21% 0.0648 -0.0979)
OKLCHoklch(31.21% 0.117 303.5)
XYZxyz(4.4894, 2.6525, 11.3395)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1B60 #3D601B
analogous
#1C1B60 #3E1B60 #601B60
triadic
#3E1B60 #603E1B #1B603E
tetradic
#3E1B60 #601C1B #3D601B #1B6060
square
#3E1B60 #601C1B #3D601B #1B6060
split-complementary
#3E1B60 #60601B #1B601C
monochromatic
#0F0718 #1F0E30 #3E1B60 #5D2890 #7C36C0

Accessibility & contrast

On white

13.72
#3E1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3E1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1B60
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1B60#FFFFFF#000000##FFFFFF
##3E1B601.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#022D5F
Tritanopia (blue-blind)
#372B3B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3e1b60;
/* rgb */ color: rgb(62, 27, 96);
/* oklch */ color: oklch(31.2% 0.117 303.5);
Tailwind
colors: {
  custom: {
    50: '#775a8e',
    500: '#3e1b60',
    950: '#000000',
  },
}
SCSS
$custom: #3e1b60;
$custom-light: #775a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1b60",
  "rgb": {
    "r": 62,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 270.435,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31211,
    "c": 0.11739,
    "h": 303.5
  },
  "luminance": 0.02653
}

Semantic roles & 50–950 ramp

primary
#3E1B60
secondary
#6B9641
accent
#DF4893
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3E1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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