#27116D#27116D

#27116D is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.5% C 0.144 H 283.3°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#27116D
RGBrgb(39, 17, 109)
HSLhsl(254, 73%, 25%)
HSVhsv(254, 84%, 43%)
CMYKcmyk(64.2%, 84.4%, 0%, 57.3%)
CIE-LABlab(15.15, 36.66, -48.75)
CIE-LCHlch(15.15, 61.00, 306.94°)
OKLaboklab(28.51% 0.0332 -0.1406)
OKLCHoklch(28.51% 0.144 283.3)
XYZxyz(3.7966, 1.9361, 14.6387)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27116D #576D11
analogous
#11296D #27116D #55116D
triadic
#27116D #6D2711 #116D27
tetradic
#27116D #6D1129 #576D11 #116D55
square
#27116D #6D1129 #576D11 #116D55
split-complementary
#27116D #6D5511 #296D11
monochromatic
#09041A #140938 #27116D #3A19A2 #4D22D7

Accessibility & contrast

On white

15.14
#27116D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#27116D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27116D
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27116D#FFFFFF#000000##FFFFFF
##27116D1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002970
Deuteranopia (green-blind)
#00236B
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #27116d;
/* rgb */ color: rgb(39, 17, 109);
/* oklch */ color: oklch(28.5% 0.144 283.3);
Tailwind
colors: {
  custom: {
    50: '#6c5398',
    500: '#27116d',
    950: '#000000',
  },
}
SCSS
$custom: #27116d;
$custom-light: #6c5398;
$custom-dark: #000000;
JSON
{
  "hex": "#27116d",
  "rgb": {
    "r": 39,
    "g": 17,
    "b": 109
  },
  "hsl": {
    "h": 254.348,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28512,
    "c": 0.14445,
    "h": 283.3
  },
  "luminance": 0.01936
}

Semantic roles & 50–950 ramp

primary
#27116D
secondary
#8AA535
accent
#F038C4
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #27116D

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

Preview Lab → · Contrast checker → · Palette generator →

#27116D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva