#3B208F#3B208F

#3B208F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.169 H 285.3°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#3B208F
RGBrgb(59, 32, 143)
HSLhsl(255, 63%, 34%)
HSVhsv(255, 78%, 56%)
CMYKcmyk(58.7%, 77.6%, 0%, 43.9%)
CIE-LABlab(23.49, 42.09, -56.56)
CIE-LCHlch(23.49, 70.50, 306.65°)
OKLaboklab(35.92% 0.0445 -0.1629)
OKLCHoklch(35.92% 0.169 285.3)
XYZxyz(7.2766, 3.9456, 26.3594)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B208F #748F20
analogous
#203C8F #3B208F #73208F
triadic
#3B208F #8F3B20 #208F3B
tetradic
#3B208F #8F203C #748F20 #208F73
square
#3B208F #8F203C #748F20 #208F73
split-complementary
#3B208F #8F7320 #3C8F20
monochromatic
#120A2B #26155D #3B208F #502BC1 #7251D8

Accessibility & contrast

On white

11.74
#3B208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3B208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B208F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B208F#FFFFFF#000000##FFFFFF
##3B208F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#0F4056
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3b208f;
/* rgb */ color: rgb(59, 32, 143);
/* oklch */ color: oklch(35.9% 0.169 285.3);
Tailwind
colors: {
  custom: {
    50: '#7b5fb1',
    500: '#3b208f',
    950: '#000000',
  },
}
SCSS
$custom: #3b208f;
$custom-light: #7b5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b208f",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 254.595,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35923,
    "c": 0.16889,
    "h": 285.3
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#3B208F
secondary
#A1BB4F
accent
#E641BE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #3B208F

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

Preview Lab → · Contrast checker → · Palette generator →

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