#3B106A#3B106A

#3B106A is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.142 H 299.0°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#3B106A
RGBrgb(59, 16, 106)
HSLhsl(269, 74%, 24%)
HSVhsv(269, 85%, 42%)
CMYKcmyk(44.3%, 84.9%, 0%, 58.4%)
CIE-LABlab(17.18, 39.05, -43.35)
CIE-LCHlch(17.18, 58.34, 312.01°)
OKLaboklab(30.4% 0.0688 -0.1241)
OKLCHoklch(30.4% 0.142 299)
XYZxyz(4.5898, 2.3409, 13.8429)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B106A #3F6A10
analogous
#10126A #3B106A #68106A
triadic
#3B106A #6A3B10 #106A3B
tetradic
#3B106A #6A1012 #3F6A10 #106A68
square
#3B106A #6A1012 #3F6A10 #106A68
split-complementary
#3B106A #6A6810 #126A10
monochromatic
#0F041B #1D0835 #3B106A #59189F #7620D4

Accessibility & contrast

On white

14.30
#3B106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3B106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B106A
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B106A#FFFFFF#000000##FFFFFF
##3B106A1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002968
Tritanopia (blue-blind)
#2F2A3E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3b106a;
/* rgb */ color: rgb(59, 16, 106);
/* oklch */ color: oklch(30.4% 0.142 299.0);
Tailwind
colors: {
  custom: {
    50: '#775595',
    500: '#3b106a',
    950: '#000000',
  },
}
SCSS
$custom: #3b106a;
$custom-light: #775595;
$custom-dark: #000000;
JSON
{
  "hex": "#3b106a",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 268.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30398,
    "c": 0.14186,
    "h": 299
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

primary
#3B106A
secondary
#6DA234
accent
#F03798
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B106A

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

Preview Lab → · Contrast checker → · Palette generator →

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