#3B207C#3B207C

#3B207C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.145 H 289.8°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#3B207C
RGBrgb(59, 32, 124)
HSLhsl(258, 59%, 31%)
HSVhsv(258, 74%, 49%)
CMYKcmyk(52.4%, 74.2%, 0%, 51.4%)
CIE-LABlab(21.64, 36.35, -47.66)
CIE-LCHlch(21.64, 59.94, 307.33°)
OKLaboklab(34.06% 0.0494 -0.1368)
OKLCHoklch(34.06% 0.145 289.8)
XYZxyz(5.9572, 3.4178, 19.4107)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B207C #617C20
analogous
#20337C #3B207C #69207C
triadic
#3B207C #7C3B20 #207C3B
tetradic
#3B207C #7C2033 #617C20 #207C69
square
#3B207C #7C2033 #617C20 #207C69
split-complementary
#3B207C #7C6920 #337C20
monochromatic
#0D071B #24134B #3B207C #522DAD #6F47CF

Accessibility & contrast

On white

12.47
#3B207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3B207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B207C
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B207C#FFFFFF#000000##FFFFFF
##3B207C1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#24384C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3b207c;
/* rgb */ color: rgb(59, 32, 124);
/* oklch */ color: oklch(34.1% 0.145 289.8);
Tailwind
colors: {
  custom: {
    50: '#785ea3',
    500: '#3b207c',
    950: '#000000',
  },
}
SCSS
$custom: #3b207c;
$custom-light: #785ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b207c",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 257.609,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34059,
    "c": 0.14547,
    "h": 289.8
  },
  "luminance": 0.03418
}

Semantic roles & 50–950 ramp

primary
#3B207C
secondary
#91AF49
accent
#E246B4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3B207C

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

Preview Lab → · Contrast checker → · Palette generator →

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