#3E1358#3E1358

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

Color values

HEX#3E1358
RGBrgb(62, 19, 88)
HSLhsl(277, 64%, 21%)
HSVhsv(277, 78%, 35%)
CMYKcmyk(29.5%, 78.4%, 0%, 65.5%)
CIE-LABlab(16.48, 33.65, -32.54)
CIE-LCHlch(16.48, 46.81, 315.96°)
OKLaboklab(29.5% 0.0755 -0.0922)
OKLCHoklch(29.5% 0.119 309.3)
XYZxyz(3.9806, 2.1945, 9.4445)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1358 #2D5813
analogous
#1B1358 #3E1358 #58134F
triadic
#3E1358 #583E13 #13583E
tetradic
#3E1358 #581B13 #2D5813 #134F58
square
#3E1358 #581B13 #2D5813 #134F58
split-complementary
#3E1358 #4F5813 #13581B
monochromatic
#120519 #1B0826 #3E1358 #611E8A #8529BD

Accessibility & contrast

On white

14.60
#3E1358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1358
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1358#FFFFFF#000000##FFFFFF
##3E13581.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#032957
Tritanopia (blue-blind)
#3A2334
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e1358;
/* rgb */ color: rgb(62, 19, 88);
/* oklch */ color: oklch(29.5% 0.119 309.3);
Tailwind
colors: {
  custom: {
    50: '#765588',
    500: '#3e1358',
    950: '#000000',
  },
}
SCSS
$custom: #3e1358;
$custom-light: #765588;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1358",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 277.391,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29496,
    "c": 0.1192,
    "h": 309.3
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#3E1358
secondary
#589037
accent
#E7407F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1358

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

Preview Lab → · Contrast checker → · Palette generator →

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