#3E1368#3E1368

#3E1368 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.137 H 301.6°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#3E1368
RGBrgb(62, 19, 104)
HSLhsl(270, 69%, 24%)
HSVhsv(270, 82%, 41%)
CMYKcmyk(40.4%, 81.7%, 0%, 59.2%)
CIE-LABlab(17.87, 37.76, -40.90)
CIE-LCHlch(17.87, 55.67, 312.71°)
OKLaboklab(30.91% 0.0717 -0.1168)
OKLCHoklch(30.91% 0.137 301.6)
XYZxyz(4.7176, 2.4893, 13.3260)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1368 #3D6813
analogous
#141368 #3E1368 #681368
triadic
#3E1368 #683E13 #13683E
tetradic
#3E1368 #681413 #3D6813 #136868
square
#3E1368 #681413 #3D6813 #136868
split-complementary
#3E1368 #686813 #136814
monochromatic
#0F051A #1F0A34 #3E1368 #5D1C9C #7C26CF

Accessibility & contrast

On white

14.02
#3E1368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3E1368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1368
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1368#FFFFFF#000000##FFFFFF
##3E13681.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#352A3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e1368;
/* rgb */ color: rgb(62, 19, 104);
/* oklch */ color: oklch(30.9% 0.137 301.6);
Tailwind
colors: {
  custom: {
    50: '#785694',
    500: '#3e1368',
    950: '#000000',
  },
}
SCSS
$custom: #3e1368;
$custom-light: #785694;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1368",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 270.353,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30913,
    "c": 0.13705,
    "h": 301.6
  },
  "luminance": 0.02489
}

Semantic roles & 50–950 ramp

primary
#3E1368
secondary
#6B9F37
accent
#EC3C93
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1368

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

Preview Lab → · Contrast checker → · Palette generator →

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