#3E1066#3E1066

#3E1066 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.138 H 302.9°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#3E1066
RGBrgb(62, 16, 102)
HSLhsl(272, 73%, 23%)
HSVhsv(272, 84%, 40%)
CMYKcmyk(39.2%, 84.3%, 0%, 60%)
CIE-LABlab(17.25, 38.51, -40.61)
CIE-LCHlch(17.25, 55.97, 313.48°)
OKLaboklab(30.42% 0.075 -0.1159)
OKLCHoklch(30.42% 0.138 302.9)
XYZxyz(4.5696, 2.3540, 12.7814)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1066 #386610
analogous
#131066 #3E1066 #661063
triadic
#3E1066 #663E10 #10663E
tetradic
#3E1066 #661310 #386610 #106366
square
#3E1066 #661310 #386610 #106366
split-complementary
#3E1066 #636610 #106613
monochromatic
#10041A #1E0831 #3E1066 #5E189B #7E21D0

Accessibility & contrast

On white

14.28
#3E1066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3E1066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1066
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1066#FFFFFF#000000##FFFFFF
##3E10661.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#36273B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e1066;
/* rgb */ color: rgb(62, 16, 102);
/* oklch */ color: oklch(30.4% 0.138 302.9);
Tailwind
colors: {
  custom: {
    50: '#785592',
    500: '#3e1066',
    950: '#000000',
  },
}
SCSS
$custom: #3e1066;
$custom-light: #785592;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1066",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 272.093,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30419,
    "c": 0.13804,
    "h": 302.9
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#3E1066
secondary
#659E33
accent
#F0388E
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1066

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

Preview Lab → · Contrast checker → · Palette generator →

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