#27115C#27115C

#27115C is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.123 H 288.4°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#27115C
RGBrgb(39, 17, 92)
HSLhsl(258, 69%, 21%)
HSVhsv(258, 82%, 36%)
CMYKcmyk(57.6%, 81.5%, 0%, 63.9%)
CIE-LABlab(13.26, 31.34, -40.61)
CIE-LCHlch(13.26, 51.30, 307.66°)
OKLaboklab(26.63% 0.0389 -0.1168)
OKLCHoklch(26.63% 0.123 288.4)
XYZxyz(2.9683, 1.6048, 10.2765)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27115C #465C11
analogous
#11215C #27115C #4D115C
triadic
#27115C #5C2711 #115C27
tetradic
#27115C #5C1121 #465C11 #115C4D
square
#27115C #5C1121 #465C11 #115C4D
split-complementary
#27115C #5C4D11 #215C11
monochromatic
#0B051A #110728 #27115C #3D1B90 #5324C3

Accessibility & contrast

On white

15.90
#27115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#27115C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27115C
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27115C#FFFFFF#000000##FFFFFF
##27115C1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#00205B
Tritanopia (blue-blind)
#122636
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #27115c;
/* rgb */ color: rgb(39, 17, 92);
/* oklch */ color: oklch(26.6% 0.123 288.4);
Tailwind
colors: {
  custom: {
    50: '#68528b',
    500: '#27115c',
    950: '#000000',
  },
}
SCSS
$custom: #27115c;
$custom-light: #68528b;
$custom-dark: #000000;
JSON
{
  "hex": "#27115c",
  "rgb": {
    "r": 39,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 257.6,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2663,
    "c": 0.1231,
    "h": 288.4
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#27115C
secondary
#789534
accent
#EC3CB8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #27115C

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

Preview Lab → · Contrast checker → · Palette generator →

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