#3B116A#3B116A

#3B116A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.141 H 298.8°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#3B116A
RGBrgb(59, 17, 106)
HSLhsl(268, 72%, 24%)
HSVhsv(268, 84%, 42%)
CMYKcmyk(44.3%, 84%, 0%, 58.4%)
CIE-LABlab(17.33, 38.63, -43.12)
CIE-LCHlch(17.33, 57.89, 311.86°)
OKLaboklab(30.5% 0.068 -0.1234)
OKLCHoklch(30.5% 0.141 298.8)
XYZxyz(4.6049, 2.3712, 13.8480)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B116A #406A11
analogous
#11136A #3B116A #68116A
triadic
#3B116A #6A3B11 #116A3B
tetradic
#3B116A #6A1113 #406A11 #116A68
square
#3B116A #6A1113 #406A11 #116A68
split-complementary
#3B116A #6A6811 #136A11
monochromatic
#0F041A #1E0935 #3B116A #58199F #7622D3

Accessibility & contrast

On white

14.25
#3B116A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B116A
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B116A#FFFFFF#000000##FFFFFF
##3B116A1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#2F2A3E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3b116a;
/* rgb */ color: rgb(59, 17, 106);
/* oklch */ color: oklch(30.5% 0.141 298.8);
Tailwind
colors: {
  custom: {
    50: '#775595',
    500: '#3b116a',
    950: '#000000',
  },
}
SCSS
$custom: #3b116a;
$custom-light: #775595;
$custom-dark: #000000;
JSON
{
  "hex": "#3b116a",
  "rgb": {
    "r": 59,
    "g": 17,
    "b": 106
  },
  "hsl": {
    "h": 268.315,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30497,
    "c": 0.14088,
    "h": 298.8
  },
  "luminance": 0.02371
}

Semantic roles & 50–950 ramp

primary
#3B116A
secondary
#6EA235
accent
#EF3999
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B116A

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

Preview Lab → · Contrast checker → · Palette generator →

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