#27113C#27113C

#27113C is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.6% C 0.080 H 304.5°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#27113C
RGBrgb(39, 17, 60)
HSLhsl(271, 56%, 15%)
HSVhsv(271, 72%, 24%)
CMYKcmyk(35%, 71.7%, 0%, 76.5%)
CIE-LABlab(10.25, 21.42, -23.38)
CIE-LCHlch(10.25, 31.71, 312.50°)
OKLaboklab(23.55% 0.0455 -0.0662)
OKLCHoklch(23.55% 0.08 304.5)
XYZxyz(1.8526, 1.1585, 4.4001)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27113C #263C11
analogous
#12113C #27113C #3C113B
triadic
#27113C #3C2711 #113C27
tetradic
#27113C #3C1211 #263C11 #113B3C
square
#27113C #3C1211 #263C11 #113B3C
split-complementary
#27113C #3B3C11 #113C12
monochromatic
#0F0718 #0F0718 #27113C #461F6C #652C9B

Accessibility & contrast

On white

17.05
#27113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27113C
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27113C#FFFFFF#000000##FFFFFF
##27113C1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#071C3B
Tritanopia (blue-blind)
#231A24
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #27113c;
/* rgb */ color: rgb(39, 17, 60);
/* oklch */ color: oklch(23.6% 0.080 304.5);
Tailwind
colors: {
  custom: {
    50: '#635072',
    500: '#27113c',
    950: '#000000',
  },
}
SCSS
$custom: #27113c;
$custom-light: #635072;
$custom-dark: #000000;
JSON
{
  "hex": "#27113c",
  "rgb": {
    "r": 39,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 270.698,
    "s": 55.844,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23551,
    "c": 0.08031,
    "h": 304.5
  },
  "luminance": 0.01158
}

Semantic roles & 50–950 ramp

primary
#27113C
secondary
#547533
accent
#DF4992
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050208
muted
#7A787B

Preview Lab

Preview with #27113C

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

Preview Lab → · Contrast checker → · Palette generator →

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