#3E1667#3E1667

#3E1667 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.132 H 301.4°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#3E1667
RGBrgb(62, 22, 103)
HSLhsl(270, 65%, 25%)
HSVhsv(270, 79%, 40%)
CMYKcmyk(39.8%, 78.6%, 0%, 59.6%)
CIE-LABlab(18.26, 36.11, -39.60)
CIE-LCHlch(18.26, 53.59, 312.36°)
OKLaboklab(31.16% 0.0691 -0.113)
OKLCHoklch(31.16% 0.132 301.4)
XYZxyz(4.7211, 2.5772, 13.0781)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1667 #3F6716
analogous
#161667 #3E1667 #671667
triadic
#3E1667 #673E16 #16673E
tetradic
#3E1667 #671616 #3F6716 #166767
square
#3E1667 #671616 #3F6716 #166767
split-complementary
#3E1667 #676716 #166716
monochromatic
#0F0519 #200B35 #3E1667 #5C2199 #7B2CCC

Accessibility & contrast

On white

13.86
#3E1667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3E1667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1667
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1667#FFFFFF#000000##FFFFFF
##3E16671.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#352B3D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3e1667;
/* rgb */ color: rgb(62, 22, 103);
/* oklch */ color: oklch(31.2% 0.132 301.4);
Tailwind
colors: {
  custom: {
    50: '#785893',
    500: '#3e1667',
    950: '#000000',
  },
}
SCSS
$custom: #3e1667;
$custom-light: #785893;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1667",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 269.63,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31161,
    "c": 0.13244,
    "h": 301.4
  },
  "luminance": 0.02577
}

Semantic roles & 50–950 ramp

primary
#3E1667
secondary
#6D9E3B
accent
#E84095
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1667

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

Preview Lab → · Contrast checker → · Palette generator →

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