#3E1693#3E1693

#3E1693 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.6% C 0.182 H 287.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#3E1693
RGBrgb(62, 22, 147)
HSLhsl(259, 74%, 33%)
HSVhsv(259, 85%, 58%)
CMYKcmyk(57.8%, 85%, 0%, 42.4%)
CIE-LABlab(22.67, 48.15, -60.39)
CIE-LCHlch(22.67, 77.23, 308.57°)
OKLaboklab(35.55% 0.0545 -0.1739)
OKLCHoklch(35.55% 0.182 287.4)
XYZxyz(7.5384, 3.7041, 27.9158)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1693 #6B9316
analogous
#162C93 #3E1693 #7C1693
triadic
#3E1693 #933E16 #16933E
tetradic
#3E1693 #93162C #6B9316 #16937C
square
#3E1693 #93162C #6B9316 #16937C
split-complementary
#3E1693 #937C16 #2C9316
monochromatic
#110629 #280E5E #3E1693 #541EC8 #7541E3

Accessibility & contrast

On white

12.06
#3E1693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3E1693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1693
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1693#FFFFFF#000000##FFFFFF
##3E16931.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003996
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#153D57
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e1693;
/* rgb */ color: rgb(62, 22, 147);
/* oklch */ color: oklch(35.6% 0.182 287.4);
Tailwind
colors: {
  custom: {
    50: '#7e5bb4',
    500: '#3e1693',
    950: '#000000',
  },
}
SCSS
$custom: #3e1693;
$custom-light: #7e5bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1693",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 259.2,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35554,
    "c": 0.18221,
    "h": 287.4
  },
  "luminance": 0.03705
}

Semantic roles & 50–950 ramp

primary
#3E1693
secondary
#9AC342
accent
#F137B5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3E1693

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

Preview Lab → · Contrast checker → · Palette generator →

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