#27113B#27113B

#27113B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.079 H 305.2°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#27113B
RGBrgb(39, 17, 59)
HSLhsl(271, 55%, 15%)
HSVhsv(271, 71%, 23%)
CMYKcmyk(33.9%, 71.2%, 0%, 76.9%)
CIE-LABlab(10.17, 21.13, -22.79)
CIE-LCHlch(10.17, 31.08, 312.83°)
OKLaboklab(23.47% 0.0455 -0.0645)
OKLCHoklch(23.47% 0.079 305.2)
XYZxyz(1.8264, 1.1480, 4.2622)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27113B #253B11
analogous
#12113B #27113B #3B113A
triadic
#27113B #3B2711 #113B27
tetradic
#27113B #3B1211 #253B11 #113A3B
square
#27113B #3B1211 #253B11 #113A3B
split-complementary
#27113B #3A3B11 #113B12
monochromatic
#100718 #100718 #27113B #461F6B #662C9A

Accessibility & contrast

On white

17.08
#27113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#27113B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27113B
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27113B#FFFFFF#000000##FFFFFF
##27113B1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3C
Deuteranopia (green-blind)
#081C3A
Tritanopia (blue-blind)
#241A24
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #27113b;
/* rgb */ color: rgb(39, 17, 59);
/* oklch */ color: oklch(23.5% 0.079 305.2);
Tailwind
colors: {
  custom: {
    50: '#635071',
    500: '#27113b',
    950: '#000000',
  },
}
SCSS
$custom: #27113b;
$custom-light: #635071;
$custom-dark: #000000;
JSON
{
  "hex": "#27113b",
  "rgb": {
    "r": 39,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 271.429,
    "s": 55.263,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23468,
    "c": 0.07893,
    "h": 305.2
  },
  "luminance": 0.01148
}

Semantic roles & 50–950 ramp

primary
#27113B
secondary
#527433
accent
#DF4990
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050207
muted
#7A787A

Preview Lab

Preview with #27113B

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

Preview Lab → · Contrast checker → · Palette generator →

#27113B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva