#3D199E#3D199E

#3D199E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.192 H 284.2°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#3D199E
RGBrgb(61, 25, 158)
HSLhsl(256, 73%, 36%)
HSVhsv(256, 84%, 62%)
CMYKcmyk(61.4%, 84.2%, 0%, 38%)
CIE-LABlab(24.18, 49.90, -64.66)
CIE-LCHlch(24.18, 81.67, 307.66°)
OKLaboklab(36.92% 0.0472 -0.1864)
OKLCHoklch(36.92% 0.192 284.2)
XYZxyz(8.4418, 4.1554, 32.6984)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D199E #7A9E19
analogous
#19379E #3D199E #7F199E
triadic
#3D199E #9E3D19 #199E3D
tetradic
#3D199E #9E1937 #7A9E19 #199E7F
square
#3D199E #9E1937 #7A9E19 #199E7F
split-complementary
#3D199E #9E7F19 #379E19
monochromatic
#140834 #291169 #3D199E #5121D3 #774EE3

Accessibility & contrast

On white

11.47
#3D199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3D199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D199E
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D199E#FFFFFF#000000##FFFFFF
##3D199E1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d199e;
/* rgb */ color: rgb(61, 25, 158);
/* oklch */ color: oklch(36.9% 0.192 284.2);
Tailwind
colors: {
  custom: {
    50: '#805dbc',
    500: '#3d199e',
    950: '#000000',
  },
}
SCSS
$custom: #3d199e;
$custom-light: #805dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d199e",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 256.241,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36924,
    "c": 0.19227,
    "h": 284.2
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#3D199E
secondary
#A5C54E
accent
#EF38BE
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3D199E

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

Preview Lab → · Contrast checker → · Palette generator →

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