#3E1357#3E1357

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

Color values

HEX#3E1357
RGBrgb(62, 19, 87)
HSLhsl(278, 64%, 21%)
HSVhsv(278, 78%, 34%)
CMYKcmyk(28.7%, 78.2%, 0%, 65.9%)
CIE-LABlab(16.40, 33.40, -32.00)
CIE-LCHlch(16.40, 46.25, 316.23°)
OKLaboklab(29.41% 0.0757 -0.0906)
OKLCHoklch(29.41% 0.118 309.9)
XYZxyz(3.9394, 2.1781, 9.2279)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1357 #2C5713
analogous
#1C1357 #3E1357 #57134E
triadic
#3E1357 #573E13 #13573E
tetradic
#3E1357 #571C13 #2C5713 #134E57
square
#3E1357 #571C13 #2C5713 #134E57
split-complementary
#3E1357 #4E5713 #13571C
monochromatic
#120519 #1A0825 #3E1357 #621E89 #8629BB

Accessibility & contrast

On white

14.63
#3E1357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1357
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1357#FFFFFF#000000##FFFFFF
##3E13571.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002759
Deuteranopia (green-blind)
#052956
Tritanopia (blue-blind)
#3A2233
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e1357;
/* rgb */ color: rgb(62, 19, 87);
/* oklch */ color: oklch(29.4% 0.118 309.9);
Tailwind
colors: {
  custom: {
    50: '#765587',
    500: '#3e1357',
    950: '#000000',
  },
}
SCSS
$custom: #3e1357;
$custom-light: #765587;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1357",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 277.941,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29412,
    "c": 0.11808,
    "h": 309.9
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#3E1357
secondary
#578F36
accent
#E7417E
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1357

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

Preview Lab → · Contrast checker → · Palette generator →

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