#27115B#27115B

#27115B is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.122 H 288.8°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#27115B
RGBrgb(39, 17, 91)
HSLhsl(258, 69%, 21%)
HSVhsv(258, 81%, 36%)
CMYKcmyk(57.1%, 81.3%, 0%, 64.3%)
CIE-LABlab(13.15, 31.02, -40.11)
CIE-LCHlch(13.15, 50.71, 307.72°)
OKLaboklab(26.52% 0.0392 -0.1153)
OKLCHoklch(26.52% 0.122 288.8)
XYZxyz(2.9249, 1.5874, 10.0478)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27115B #455B11
analogous
#11205B #27115B #4C115B
triadic
#27115B #5B2711 #115B27
tetradic
#27115B #5B1120 #455B11 #115B4C
square
#27115B #5B1120 #455B11 #115B4C
split-complementary
#27115B #5B4C11 #205B11
monochromatic
#0B051A #110727 #27115B #3D1B8F #5324C2

Accessibility & contrast

On white

15.94
#27115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27115B
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27115B#FFFFFF#000000##FFFFFF
##27115B1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235D
Deuteranopia (green-blind)
#00205A
Tritanopia (blue-blind)
#132635
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #27115b;
/* rgb */ color: rgb(39, 17, 91);
/* oklch */ color: oklch(26.5% 0.122 288.8);
Tailwind
colors: {
  custom: {
    50: '#68528a',
    500: '#27115b',
    950: '#000000',
  },
}
SCSS
$custom: #27115b;
$custom-light: #68528a;
$custom-dark: #000000;
JSON
{
  "hex": "#27115b",
  "rgb": {
    "r": 39,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 257.838,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26524,
    "c": 0.12182,
    "h": 288.8
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#27115B
secondary
#779434
accent
#EB3CB7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #27115B

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

Preview Lab → · Contrast checker → · Palette generator →

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