#27115D#27115D

#27115D is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.7% C 0.124 H 288.1°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#27115D
RGBrgb(39, 17, 93)
HSLhsl(257, 69%, 22%)
HSVhsv(257, 82%, 36%)
CMYKcmyk(58.1%, 81.7%, 0%, 63.5%)
CIE-LABlab(13.37, 31.65, -41.11)
CIE-LCHlch(13.37, 51.88, 307.60°)
OKLaboklab(26.74% 0.0386 -0.1183)
OKLCHoklch(26.74% 0.124 288.1)
XYZxyz(3.0123, 1.6224, 10.5082)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27115D #475D11
analogous
#11215D #27115D #4D115D
triadic
#27115D #5D2711 #115D27
tetradic
#27115D #5D1121 #475D11 #115D4D
square
#27115D #5D1121 #475D11 #115D4D
split-complementary
#27115D #5D4D11 #215D11
monochromatic
#0B051A #110829 #27115D #3D1A91 #5224C4

Accessibility & contrast

On white

15.85
#27115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27115D
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27115D#FFFFFF#000000##FFFFFF
##27115D1.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#112636
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #27115d;
/* rgb */ color: rgb(39, 17, 93);
/* oklch */ color: oklch(26.7% 0.124 288.1);
Tailwind
colors: {
  custom: {
    50: '#68528c',
    500: '#27115d',
    950: '#000000',
  },
}
SCSS
$custom: #27115d;
$custom-light: #68528c;
$custom-dark: #000000;
JSON
{
  "hex": "#27115d",
  "rgb": {
    "r": 39,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 257.368,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26737,
    "c": 0.12438,
    "h": 288.1
  },
  "luminance": 0.01623
}

Semantic roles & 50–950 ramp

primary
#27115D
secondary
#799634
accent
#EC3CB9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #27115D

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

Preview Lab → · Contrast checker → · Palette generator →

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