#3B114F#3B114F

#3B114F is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.111 H 312.4°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#3B114F
RGBrgb(59, 17, 79)
HSLhsl(281, 65%, 19%)
HSVhsv(281, 78%, 31%)
CMYKcmyk(25.3%, 78.5%, 0%, 69%)
CIE-LABlab(14.93, 31.68, -28.96)
CIE-LCHlch(14.93, 42.92, 317.57°)
OKLaboklab(28.07% 0.0748 -0.0818)
OKLCHoklch(28.07% 0.111 312.4)
XYZxyz(3.4151, 1.8953, 7.5816)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B114F #254F11
analogous
#1C114F #3B114F #4F1144
triadic
#3B114F #4F3B11 #114F3B
tetradic
#3B114F #4F1C11 #254F11 #11444F
square
#3B114F #4F1C11 #254F11 #11444F
split-complementary
#3B114F #444F11 #114F1C
monochromatic
#130519 #15061D #3B114F #611C81 #8627B4

Accessibility & contrast

On white

15.23
#3B114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3B114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B114F
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B114F#FFFFFF#000000##FFFFFF
##3B114F1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#0A264E
Tritanopia (blue-blind)
#391E2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3b114f;
/* rgb */ color: rgb(59, 17, 79);
/* oklch */ color: oklch(28.1% 0.111 312.4);
Tailwind
colors: {
  custom: {
    50: '#745381',
    500: '#3b114f',
    950: '#000000',
  },
}
SCSS
$custom: #3b114f;
$custom-light: #745381;
$custom-dark: #000000;
JSON
{
  "hex": "#3b114f",
  "rgb": {
    "r": 59,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 280.645,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28065,
    "c": 0.11082,
    "h": 312.4
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#3B114F
secondary
#4F8833
accent
#E84076
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3B114F

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

Preview Lab → · Contrast checker → · Palette generator →

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