#3B208E#3B208E

#3B208E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.168 H 285.5°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#3B208E
RGBrgb(59, 32, 142)
HSLhsl(255, 63%, 34%)
HSVhsv(255, 77%, 56%)
CMYKcmyk(58.5%, 77.5%, 0%, 44.3%)
CIE-LABlab(23.39, 41.79, -56.11)
CIE-LCHlch(23.39, 69.96, 306.68°)
OKLaboklab(35.82% 0.0448 -0.1616)
OKLCHoklch(35.82% 0.168 285.5)
XYZxyz(7.2012, 3.9154, 25.9622)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B208E #738E20
analogous
#203C8E #3B208E #72208E
triadic
#3B208E #8E3B20 #208E3B
tetradic
#3B208E #8E203C #738E20 #208E72
square
#3B208E #8E203C #738E20 #208E72
split-complementary
#3B208E #8E7220 #3C8E20
monochromatic
#11092A #26155C #3B208E #502BC0 #7251D8

Accessibility & contrast

On white

11.78
#3B208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3B208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B208E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B208E#FFFFFF#000000##FFFFFF
##3B208E1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#113F56
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3b208e;
/* rgb */ color: rgb(59, 32, 142);
/* oklch */ color: oklch(35.8% 0.168 285.5);
Tailwind
colors: {
  custom: {
    50: '#7b5fb0',
    500: '#3b208e',
    950: '#000000',
  },
}
SCSS
$custom: #3b208e;
$custom-light: #7b5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b208e",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 254.727,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35822,
    "c": 0.16768,
    "h": 285.5
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

primary
#3B208E
secondary
#A0BB4F
accent
#E642BE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #3B208E

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

Preview Lab → · Contrast checker → · Palette generator →

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