#3E1063#3E1063

#3E1063 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.135 H 304.3°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#3E1063
RGBrgb(62, 16, 99)
HSLhsl(273, 72%, 23%)
HSVhsv(273, 84%, 39%)
CMYKcmyk(37.4%, 83.8%, 0%, 61.2%)
CIE-LABlab(16.97, 37.75, -39.08)
CIE-LCHlch(16.97, 54.33, 314.01°)
OKLaboklab(30.14% 0.0759 -0.1114)
OKLCHoklch(30.14% 0.135 304.3)
XYZxyz(4.4235, 2.2956, 12.0120)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1063 #356310
analogous
#141063 #3E1063 #63105E
triadic
#3E1063 #633E10 #10633E
tetradic
#3E1063 #631410 #356310 #105E63
square
#3E1063 #631410 #356310 #105E63
split-complementary
#3E1063 #5E6310 #106314
monochromatic
#10041A #1D072E #3E1063 #5F1998 #8021CC

Accessibility & contrast

On white

14.39
#3E1063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3E1063 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1063
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1063#FFFFFF#000000##FFFFFF
##3E10631.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#37263A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e1063;
/* rgb */ color: rgb(62, 16, 99);
/* oklch */ color: oklch(30.1% 0.135 304.3);
Tailwind
colors: {
  custom: {
    50: '#785590',
    500: '#3e1063',
    950: '#000000',
  },
}
SCSS
$custom: #3e1063;
$custom-light: #785590;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1063",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 99
  },
  "hsl": {
    "h": 273.253,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3014,
    "c": 0.13481,
    "h": 304.3
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#3E1063
secondary
#629C33
accent
#EF398A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3E1063

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

Preview Lab → · Contrast checker → · Palette generator →

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