#27113A#27113A

#27113A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.078 H 306.0°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#27113A
RGBrgb(39, 17, 58)
HSLhsl(272, 55%, 15%)
HSVhsv(272, 71%, 23%)
CMYKcmyk(32.8%, 70.7%, 0%, 77.3%)
CIE-LABlab(10.09, 20.84, -22.20)
CIE-LCHlch(10.09, 30.45, 313.19°)
OKLaboklab(23.39% 0.0456 -0.0627)
OKLCHoklch(23.39% 0.078 306)
XYZxyz(1.8007, 1.1377, 4.1269)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27113A #243A11
analogous
#12113A #27113A #3A1139
triadic
#27113A #3A2711 #113A27
tetradic
#27113A #3A1211 #243A11 #11393A
square
#27113A #3A1211 #243A11 #11393A
split-complementary
#27113A #393A11 #113A12
monochromatic
#100718 #100718 #27113A #471F69 #672D99

Accessibility & contrast

On white

17.11
#27113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27113A
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27113A#FFFFFF#000000##FFFFFF
##27113A1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011B3B
Deuteranopia (green-blind)
#091C39
Tritanopia (blue-blind)
#241923
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #27113a;
/* rgb */ color: rgb(39, 17, 58);
/* oklch */ color: oklch(23.4% 0.078 306.0);
Tailwind
colors: {
  custom: {
    50: '#635070',
    500: '#27113a',
    950: '#000000',
  },
}
SCSS
$custom: #27113a;
$custom-light: #635070;
$custom-dark: #000000;
JSON
{
  "hex": "#27113a",
  "rgb": {
    "r": 39,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 272.195,
    "s": 54.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23386,
    "c": 0.07754,
    "h": 306
  },
  "luminance": 0.01138
}

Semantic roles & 50–950 ramp

primary
#27113A
secondary
#517333
accent
#DE4A8E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050207
muted
#7A787A

Preview Lab

Preview with #27113A

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

Preview Lab → · Contrast checker → · Palette generator →

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