#3E196A#3E196A

#3E196A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.132 H 299.6°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#3E196A
RGBrgb(62, 25, 106)
HSLhsl(267, 62%, 26%)
HSVhsv(267, 76%, 42%)
CMYKcmyk(41.5%, 76.4%, 0%, 58.4%)
CIE-LABlab(19.06, 35.43, -40.28)
CIE-LCHlch(19.06, 53.64, 311.34°)
OKLaboklab(31.8% 0.0653 -0.115)
OKLCHoklch(31.8% 0.132 299.6)
XYZxyz(4.9351, 2.7599, 13.9056)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E196A #456A19
analogous
#191D6A #3E196A #66196A
triadic
#3E196A #6A3E19 #196A3E
tetradic
#3E196A #6A191D #456A19 #196A66
square
#3E196A #6A191D #456A19 #196A66
split-complementary
#3E196A #6A6619 #1D6A19
monochromatic
#0E0619 #210D38 #3E196A #5B259C #7830CD

Accessibility & contrast

On white

13.53
#3E196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3E196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E196A
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E196A#FFFFFF#000000##FFFFFF
##3E196A1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002E68
Tritanopia (blue-blind)
#342D40
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3e196a;
/* rgb */ color: rgb(62, 25, 106);
/* oklch */ color: oklch(31.8% 0.132 299.6);
Tailwind
colors: {
  custom: {
    50: '#785995',
    500: '#3e196a',
    950: '#000000',
  },
}
SCSS
$custom: #3e196a;
$custom-light: #785995;
$custom-dark: #000000;
JSON
{
  "hex": "#3e196a",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 267.407,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31803,
    "c": 0.13223,
    "h": 299.6
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#3E196A
secondary
#74A03F
accent
#E5439B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3E196A

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

Preview Lab → · Contrast checker → · Palette generator →

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