#3E196F#3E196F

#3E196F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.138 H 297.6°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#3E196F
RGBrgb(62, 25, 111)
HSLhsl(266, 63%, 27%)
HSVhsv(266, 77%, 44%)
CMYKcmyk(44.1%, 77.5%, 0%, 56.5%)
CIE-LABlab(19.50, 36.81, -42.80)
CIE-LCHlch(19.50, 56.45, 310.70°)
OKLaboklab(32.26% 0.0641 -0.1224)
OKLCHoklch(32.26% 0.138 297.6)
XYZxyz(5.2027, 2.8670, 15.3151)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E196F #4A6F19
analogous
#191F6F #3E196F #69196F
triadic
#3E196F #6F3E19 #196F3E
tetradic
#3E196F #6F191F #4A6F19 #196F69
square
#3E196F #6F191F #4A6F19 #196F69
split-complementary
#3E196F #6F6919 #1F6F19
monochromatic
#0E0619 #220E3D #3E196F #5A24A1 #7632D1

Accessibility & contrast

On white

13.35
#3E196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E196F
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E196F#FFFFFF#000000##FFFFFF
##3E196F1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e196f;
/* rgb */ color: rgb(62, 25, 111);
/* oklch */ color: oklch(32.3% 0.138 297.6);
Tailwind
colors: {
  custom: {
    50: '#795a99',
    500: '#3e196f',
    950: '#000000',
  },
}
SCSS
$custom: #3e196f;
$custom-light: #795a99;
$custom-dark: #000000;
JSON
{
  "hex": "#3e196f",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 265.814,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32258,
    "c": 0.13818,
    "h": 297.6
  },
  "luminance": 0.02867
}

Semantic roles & 50–950 ramp

primary
#3E196F
secondary
#79A43F
accent
#E6429F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3E196F

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

Preview Lab → · Contrast checker → · Palette generator →

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