#3E1554#3E1554

#3E1554 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.112 H 311.2°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#3E1554
RGBrgb(62, 21, 84)
HSLhsl(279, 60%, 21%)
HSVhsv(279, 75%, 33%)
CMYKcmyk(26.2%, 75%, 0%, 67.1%)
CIE-LABlab(16.51, 31.67, -29.79)
CIE-LCHlch(16.51, 43.48, 316.75°)
OKLaboklab(29.42% 0.0738 -0.0842)
OKLCHoklch(29.42% 0.112 311.2)
XYZxyz(3.8547, 2.2007, 8.6075)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1554 #2B5415
analogous
#1F1554 #3E1554 #54154A
triadic
#3E1554 #543E15 #15543E
tetradic
#3E1554 #541F15 #2B5415 #154A54
square
#3E1554 #541F15 #2B5415 #154A54
split-complementary
#3E1554 #4A5415 #15541F
monochromatic
#120618 #1A0923 #3E1554 #622185 #862DB6

Accessibility & contrast

On white

14.58
#3E1554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1554
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1554#FFFFFF#000000##FFFFFF
##3E15541.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#0D2A53
Tritanopia (blue-blind)
#3B2232
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e1554;
/* rgb */ color: rgb(62, 21, 84);
/* oklch */ color: oklch(29.4% 0.112 311.2);
Tailwind
colors: {
  custom: {
    50: '#765684',
    500: '#3e1554',
    950: '#000000',
  },
}
SCSS
$custom: #3e1554;
$custom-light: #765684;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1554",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 84
  },
  "hsl": {
    "h": 279.048,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29417,
    "c": 0.11191,
    "h": 311.2
  },
  "luminance": 0.02201
}

Semantic roles & 50–950 ramp

primary
#3E1554
secondary
#568C39
accent
#E3457C
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1554

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

Preview Lab → · Contrast checker → · Palette generator →

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