#3B114C#3B114C

#3B114C is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.107 H 314.4°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#3B114C
RGBrgb(59, 17, 76)
HSLhsl(283, 63%, 18%)
HSVhsv(283, 78%, 30%)
CMYKcmyk(22.4%, 77.6%, 0%, 70.2%)
CIE-LABlab(14.69, 30.95, -27.27)
CIE-LCHlch(14.69, 41.25, 318.62°)
OKLaboklab(27.82% 0.0752 -0.0769)
OKLCHoklch(27.82% 0.107 314.4)
XYZxyz(3.3084, 1.8526, 7.0194)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B114C #224C11
analogous
#1D114C #3B114C #4C113F
triadic
#3B114C #4C3B11 #114C3B
tetradic
#3B114C #4C1D11 #224C11 #113F4C
square
#3B114C #4C1D11 #224C11 #113F4C
split-complementary
#3B114C #3F4C11 #114C1D
monochromatic
#130619 #14061A #3B114C #621C7E #8927B0

Accessibility & contrast

On white

15.32
#3B114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3B114C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B114C
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B114C#FFFFFF#000000##FFFFFF
##3B114C1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#0E264B
Tritanopia (blue-blind)
#391D2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b114c;
/* rgb */ color: rgb(59, 17, 76);
/* oklch */ color: oklch(27.8% 0.107 314.4);
Tailwind
colors: {
  custom: {
    50: '#73537e',
    500: '#3b114c',
    950: '#000000',
  },
}
SCSS
$custom: #3b114c;
$custom-light: #73537e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b114c",
  "rgb": {
    "r": 59,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 282.712,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27824,
    "c": 0.10749,
    "h": 314.4
  },
  "luminance": 0.01853
}

Semantic roles & 50–950 ramp

primary
#3B114C
secondary
#4B8533
accent
#E64171
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3B114C

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

Preview Lab → · Contrast checker → · Palette generator →

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