#3E1555#3E1555

#3E1555 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.5% C 0.113 H 310.6°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#3E1555
RGBrgb(62, 21, 85)
HSLhsl(278, 60%, 21%)
HSVhsv(278, 75%, 33%)
CMYKcmyk(27.1%, 75.3%, 0%, 66.7%)
CIE-LABlab(16.58, 31.92, -30.34)
CIE-LCHlch(16.58, 44.04, 316.45°)
OKLaboklab(29.5% 0.0736 -0.0858)
OKLCHoklch(29.5% 0.113 310.6)
XYZxyz(3.8942, 2.2164, 8.8152)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1555 #2C5515
analogous
#1E1555 #3E1555 #55154C
triadic
#3E1555 #553E15 #15553E
tetradic
#3E1555 #551E15 #2C5515 #154C55
square
#3E1555 #551E15 #2C5515 #154C55
split-complementary
#3E1555 #4C5515 #15551E
monochromatic
#120619 #1A0924 #3E1555 #622186 #862DB7

Accessibility & contrast

On white

14.55
#3E1555 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3E1555 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1555
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1555#FFFFFF#000000##FFFFFF
##3E15551.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#0B2A54
Tritanopia (blue-blind)
#3B2333
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e1555;
/* rgb */ color: rgb(62, 21, 85);
/* oklch */ color: oklch(29.5% 0.113 310.6);
Tailwind
colors: {
  custom: {
    50: '#765685',
    500: '#3e1555',
    950: '#000000',
  },
}
SCSS
$custom: #3e1555;
$custom-light: #765685;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1555",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 85
  },
  "hsl": {
    "h": 278.438,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29497,
    "c": 0.11306,
    "h": 310.6
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#3E1555
secondary
#578D39
accent
#E4447E
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1555

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

Preview Lab → · Contrast checker → · Palette generator →

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