#3E1466#3E1466

#3E1466 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.134 H 302.2°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#3E1466
RGBrgb(62, 20, 102)
HSLhsl(271, 67%, 24%)
HSVhsv(271, 80%, 40%)
CMYKcmyk(39.2%, 80.4%, 0%, 60%)
CIE-LABlab(17.84, 36.78, -39.63)
CIE-LCHlch(17.84, 54.07, 312.87°)
OKLaboklab(30.84% 0.0713 -0.1131)
OKLCHoklch(30.84% 0.134 302.2)
XYZxyz(4.6345, 2.4837, 12.8030)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1466 #3C6614
analogous
#151466 #3E1466 #661465
triadic
#3E1466 #663E14 #14663E
tetradic
#3E1466 #661514 #3C6614 #146566
square
#3E1466 #661514 #3C6614 #146566
split-complementary
#3E1466 #656614 #146615
monochromatic
#10051A #1F0A33 #3E1466 #5D1E99 #7C28CC

Accessibility & contrast

On white

14.03
#3E1466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1466
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1466#FFFFFF#000000##FFFFFF
##3E14661.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1466;
/* rgb */ color: rgb(62, 20, 102);
/* oklch */ color: oklch(30.8% 0.134 302.2);
Tailwind
colors: {
  custom: {
    50: '#785792',
    500: '#3e1466',
    950: '#000000',
  },
}
SCSS
$custom: #3e1466;
$custom-light: #785792;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1466",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 270.732,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30838,
    "c": 0.13368,
    "h": 302.2
  },
  "luminance": 0.02484
}

Semantic roles & 50–950 ramp

primary
#3E1466
secondary
#6A9D39
accent
#EA3E92
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1466

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

Preview Lab → · Contrast checker → · Palette generator →

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