#3B114E#3B114E

#3B114E is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.110 H 313.1°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#3B114E
RGBrgb(59, 17, 78)
HSLhsl(281, 64%, 19%)
HSVhsv(281, 78%, 31%)
CMYKcmyk(24.4%, 78.2%, 0%, 69.4%)
CIE-LABlab(14.85, 31.44, -28.40)
CIE-LCHlch(14.85, 42.36, 317.91°)
OKLaboklab(27.98% 0.0749 -0.0802)
OKLCHoklch(27.98% 0.11 313.1)
XYZxyz(3.3790, 1.8809, 7.3913)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B114E #244E11
analogous
#1C114E #3B114E #4E1142
triadic
#3B114E #4E3B11 #114E3B
tetradic
#3B114E #4E1C11 #244E11 #11424E
square
#3B114E #4E1C11 #244E11 #11424E
split-complementary
#3B114E #424E11 #114E1C
monochromatic
#130519 #15061C #3B114E #611C80 #8727B2

Accessibility & contrast

On white

15.26
#3B114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B114E
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B114E#FFFFFF#000000##FFFFFF
##3B114E1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#0C264D
Tritanopia (blue-blind)
#391E2E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b114e;
/* rgb */ color: rgb(59, 17, 78);
/* oklch */ color: oklch(28.0% 0.110 313.1);
Tailwind
colors: {
  custom: {
    50: '#745380',
    500: '#3b114e',
    950: '#000000',
  },
}
SCSS
$custom: #3b114e;
$custom-light: #745380;
$custom-dark: #000000;
JSON
{
  "hex": "#3b114e",
  "rgb": {
    "r": 59,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 281.311,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27984,
    "c": 0.10971,
    "h": 313.1
  },
  "luminance": 0.01881
}

Semantic roles & 50–950 ramp

primary
#3B114E
secondary
#4E8733
accent
#E74174
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3B114E

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

Preview Lab → · Contrast checker → · Palette generator →

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