#27116A#27116A

#27116A is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.141 H 284.1°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#27116A
RGBrgb(39, 17, 106)
HSLhsl(255, 72%, 24%)
HSVhsv(255, 84%, 42%)
CMYKcmyk(63.2%, 84%, 0%, 58.4%)
CIE-LABlab(14.80, 35.73, -47.36)
CIE-LCHlch(14.80, 59.32, 307.03°)
OKLaboklab(28.17% 0.0343 -0.1365)
OKLCHoklch(28.17% 0.141 284.1)
XYZxyz(3.6379, 1.8726, 13.8026)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27116A #546A11
analogous
#11286A #27116A #54116A
triadic
#27116A #6A2711 #116A27
tetradic
#27116A #6A1128 #546A11 #116A54
square
#27116A #6A1128 #546A11 #116A54
split-complementary
#27116A #6A5411 #286A11
monochromatic
#0A041A #140935 #27116A #3A199F #4E22D3

Accessibility & contrast

On white

15.28
#27116A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#27116A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27116A
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27116A#FFFFFF#000000##FFFFFF
##27116A1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002268
Tritanopia (blue-blind)
#002C3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #27116a;
/* rgb */ color: rgb(39, 17, 106);
/* oklch */ color: oklch(28.2% 0.141 284.1);
Tailwind
colors: {
  custom: {
    50: '#6b5396',
    500: '#27116a',
    950: '#000000',
  },
}
SCSS
$custom: #27116a;
$custom-light: #6b5396;
$custom-dark: #000000;
JSON
{
  "hex": "#27116a",
  "rgb": {
    "r": 39,
    "g": 17,
    "b": 106
  },
  "hsl": {
    "h": 254.831,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28171,
    "c": 0.14075,
    "h": 284.1
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#27116A
secondary
#87A235
accent
#EF39C2
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #27116A

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

Preview Lab → · Contrast checker → · Palette generator →

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