#27115A#27115A

#27115A is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.4% C 0.121 H 289.1°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#27115A
RGBrgb(39, 17, 90)
HSLhsl(258, 68%, 21%)
HSVhsv(258, 81%, 35%)
CMYKcmyk(56.7%, 81.1%, 0%, 64.7%)
CIE-LABlab(13.05, 30.71, -39.61)
CIE-LCHlch(13.05, 50.12, 307.78°)
OKLaboklab(26.42% 0.0395 -0.1139)
OKLCHoklch(26.42% 0.121 289.1)
XYZxyz(2.8821, 1.5703, 9.8221)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27115A #445A11
analogous
#111F5A #27115A #4B115A
triadic
#27115A #5A2711 #115A27
tetradic
#27115A #5A111F #445A11 #115A4B
square
#27115A #5A111F #445A11 #115A4B
split-complementary
#27115A #5A4B11 #1F5A11
monochromatic
#0B051A #110727 #27115A #3D1B8D #5424C1

Accessibility & contrast

On white

15.98
#27115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#27115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27115A
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27115A#FFFFFF#000000##FFFFFF
##27115A1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#002059
Tritanopia (blue-blind)
#142535
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #27115a;
/* rgb */ color: rgb(39, 17, 90);
/* oklch */ color: oklch(26.4% 0.121 289.1);
Tailwind
colors: {
  custom: {
    50: '#685289',
    500: '#27115a',
    950: '#000000',
  },
}
SCSS
$custom: #27115a;
$custom-light: #685289;
$custom-dark: #000000;
JSON
{
  "hex": "#27115a",
  "rgb": {
    "r": 39,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 258.082,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26418,
    "c": 0.12053,
    "h": 289.1
  },
  "luminance": 0.0157
}

Semantic roles & 50–950 ramp

primary
#27115A
secondary
#769334
accent
#EB3DB7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #27115A

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

Preview Lab → · Contrast checker → · Palette generator →

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