#3E196E#3E196E

#3E196E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.137 H 298.0°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#3E196E
RGBrgb(62, 25, 110)
HSLhsl(266, 63%, 26%)
HSVhsv(266, 77%, 43%)
CMYKcmyk(43.6%, 77.3%, 0%, 56.9%)
CIE-LABlab(19.41, 36.54, -42.30)
CIE-LCHlch(19.41, 55.89, 310.82°)
OKLaboklab(32.17% 0.0643 -0.1209)
OKLCHoklch(32.17% 0.137 298)
XYZxyz(5.1480, 2.8451, 15.0268)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E196E #496E19
analogous
#191E6E #3E196E #69196E
triadic
#3E196E #6E3E19 #196E3E
tetradic
#3E196E #6E191E #496E19 #196E69
square
#3E196E #6E191E #496E19 #196E69
split-complementary
#3E196E #6E6919 #1E6E19
monochromatic
#0E0619 #220E3C #3E196E #5A24A0 #7631D0

Accessibility & contrast

On white

13.38
#3E196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3E196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E196E
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E196E#FFFFFF#000000##FFFFFF
##3E196E1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#322F42
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3e196e;
/* rgb */ color: rgb(62, 25, 110);
/* oklch */ color: oklch(32.2% 0.137 298.0);
Tailwind
colors: {
  custom: {
    50: '#785a98',
    500: '#3e196e',
    950: '#000000',
  },
}
SCSS
$custom: #3e196e;
$custom-light: #785a98;
$custom-dark: #000000;
JSON
{
  "hex": "#3e196e",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 266.118,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32166,
    "c": 0.13698,
    "h": 298
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#3E196E
secondary
#78A33F
accent
#E6429F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3E196E

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

Preview Lab → · Contrast checker → · Palette generator →

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