#3E1366#3E1366

#3E1366 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.135 H 302.4°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#3E1366
RGBrgb(62, 19, 102)
HSLhsl(271, 69%, 24%)
HSVhsv(271, 81%, 40%)
CMYKcmyk(39.2%, 81.4%, 0%, 60%)
CIE-LABlab(17.69, 37.23, -39.89)
CIE-LCHlch(17.69, 54.56, 313.03°)
OKLaboklab(30.73% 0.0723 -0.1138)
OKLCHoklch(30.73% 0.135 302.4)
XYZxyz(4.6172, 2.4492, 12.7973)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1366 #3B6613
analogous
#141366 #3E1366 #661364
triadic
#3E1366 #663E13 #13663E
tetradic
#3E1366 #661413 #3B6613 #136466
square
#3E1366 #661413 #3B6613 #136466
split-complementary
#3E1366 #646613 #136614
monochromatic
#10051A #1F0932 #3E1366 #5D1D9A #7D26CD

Accessibility & contrast

On white

14.10
#3E1366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3E1366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1366
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1366#FFFFFF#000000##FFFFFF
##3E13661.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002B64
Tritanopia (blue-blind)
#35293C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e1366;
/* rgb */ color: rgb(62, 19, 102);
/* oklch */ color: oklch(30.7% 0.135 302.4);
Tailwind
colors: {
  custom: {
    50: '#785692',
    500: '#3e1366',
    950: '#000000',
  },
}
SCSS
$custom: #3e1366;
$custom-light: #785692;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1366",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 271.084,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30728,
    "c": 0.13482,
    "h": 302.4
  },
  "luminance": 0.02449
}

Semantic roles & 50–950 ramp

primary
#3E1366
secondary
#699D37
accent
#EB3C91
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1366

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

Preview Lab → · Contrast checker → · Palette generator →

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