#3E1068#3E1068

#3E1068 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.140 H 302.0°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#3E1068
RGBrgb(62, 16, 104)
HSLhsl(271, 73%, 24%)
HSVhsv(271, 85%, 41%)
CMYKcmyk(40.4%, 84.6%, 0%, 59.2%)
CIE-LABlab(17.43, 39.02, -41.62)
CIE-LCHlch(17.43, 57.05, 313.16°)
OKLaboklab(30.61% 0.0743 -0.1189)
OKLCHoklch(30.61% 0.14 302)
XYZxyz(4.6700, 2.3942, 13.3101)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1068 #3A6810
analogous
#121068 #3E1068 #681066
triadic
#3E1068 #683E10 #10683E
tetradic
#3E1068 #681210 #3A6810 #106668
square
#3E1068 #681210 #3A6810 #106668
split-complementary
#3E1068 #666810 #106812
monochromatic
#10041B #1E0833 #3E1068 #5E189D #7D20D2

Accessibility & contrast

On white

14.20
#3E1068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3E1068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1068
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1068#FFFFFF#000000##FFFFFF
##3E10681.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#35283C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e1068;
/* rgb */ color: rgb(62, 16, 104);
/* oklch */ color: oklch(30.6% 0.140 302.0);
Tailwind
colors: {
  custom: {
    50: '#785594',
    500: '#3e1068',
    950: '#000000',
  },
}
SCSS
$custom: #3e1068;
$custom-light: #785594;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1068",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 271.364,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30608,
    "c": 0.1402,
    "h": 302
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#3E1068
secondary
#67A034
accent
#F03890
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1068

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

Preview Lab → · Contrast checker → · Palette generator →

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