#3B206C#3B206C

#3B206C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.125 H 294.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#3B206C
RGBrgb(59, 32, 108)
HSLhsl(261, 54%, 27%)
HSVhsv(261, 70%, 42%)
CMYKcmyk(45.4%, 70.4%, 0%, 57.6%)
CIE-LABlab(20.22, 31.53, -39.69)
CIE-LCHlch(20.22, 50.69, 308.46°)
OKLaboklab(32.6% 0.0524 -0.1134)
OKLCHoklch(32.6% 0.125 294.8)
XYZxyz(5.0262, 3.0454, 14.5075)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B206C #516C20
analogous
#202B6C #3B206C #61206C
triadic
#3B206C #6C3B20 #206C3B
tetradic
#3B206C #6C202B #516C20 #206C61
square
#3B206C #6C202B #516C20 #206C61
split-complementary
#3B206C #6C6120 #2B6C20
monochromatic
#0D0718 #21123D #3B206C #552E9B #7040C6

Accessibility & contrast

On white

13.05
#3B206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3B206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B206C
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B206C#FFFFFF#000000##FFFFFF
##3B206C1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#2E3243
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3b206c;
/* rgb */ color: rgb(59, 32, 108);
/* oklch */ color: oklch(32.6% 0.125 294.8);
Tailwind
colors: {
  custom: {
    50: '#765d97',
    500: '#3b206c',
    950: '#000000',
  },
}
SCSS
$custom: #3b206c;
$custom-light: #765d97;
$custom-dark: #000000;
JSON
{
  "hex": "#3b206c",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 261.316,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32603,
    "c": 0.12497,
    "h": 294.8
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#3B206C
secondary
#81A048
accent
#DE4AA9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3B206C

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

Preview Lab → · Contrast checker → · Palette generator →

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