#3B199E#3B199E

#3B199E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.193 H 283.2°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#3B199E
RGBrgb(59, 25, 158)
HSLhsl(255, 73%, 36%)
HSVhsv(255, 84%, 62%)
CMYKcmyk(62.7%, 84.2%, 0%, 38%)
CIE-LABlab(23.98, 49.70, -65.00)
CIE-LCHlch(23.98, 81.82, 307.40°)
OKLaboklab(36.74% 0.044 -0.1874)
OKLCHoklch(36.74% 0.193 283.2)
XYZxyz(8.3209, 4.0931, 32.6927)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B199E #7C9E19
analogous
#193A9E #3B199E #7D199E
triadic
#3B199E #9E3B19 #199E3B
tetradic
#3B199E #9E193A #7C9E19 #199E7D
square
#3B199E #9E193A #7C9E19 #199E7D
split-complementary
#3B199E #9E7D19 #3A9E19
monochromatic
#140834 #271169 #3B199E #4F21D3 #744EE3

Accessibility & contrast

On white

11.55
#3B199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3B199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B199E
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B199E#FFFFFF#000000##FFFFFF
##3B199E1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.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: #3b199e;
/* rgb */ color: rgb(59, 25, 158);
/* oklch */ color: oklch(36.7% 0.193 283.2);
Tailwind
colors: {
  custom: {
    50: '#7f5cbc',
    500: '#3b199e',
    950: '#000000',
  },
}
SCSS
$custom: #3b199e;
$custom-light: #7f5cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b199e",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 255.338,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36737,
    "c": 0.19253,
    "h": 283.2
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#3B199E
secondary
#A7C54E
accent
#EF38C1
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3B199E

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

Preview Lab → · Contrast checker → · Palette generator →

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