#27116F#27116F

#27116F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.147 H 282.8°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#27116F
RGBrgb(39, 17, 111)
HSLhsl(254, 73%, 25%)
HSVhsv(254, 85%, 44%)
CMYKcmyk(64.9%, 84.7%, 0%, 56.5%)
CIE-LABlab(15.38, 37.28, -49.67)
CIE-LCHlch(15.38, 62.11, 306.89°)
OKLaboklab(28.74% 0.0325 -0.1433)
OKLCHoklch(28.74% 0.147 282.8)
XYZxyz(3.9055, 1.9797, 15.2122)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27116F #596F11
analogous
#112A6F #27116F #56116F
triadic
#27116F #6F2711 #116F27
tetradic
#27116F #6F112A #596F11 #116F56
square
#27116F #6F112A #596F11 #116F56
split-complementary
#27116F #6F5611 #2A6F11
monochromatic
#09041B #14093A #27116F #3A19A4 #4C21D9

Accessibility & contrast

On white

15.04
#27116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#27116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27116F
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27116F#FFFFFF#000000##FFFFFF
##27116F1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #27116f;
/* rgb */ color: rgb(39, 17, 111);
/* oklch */ color: oklch(28.7% 0.147 282.8);
Tailwind
colors: {
  custom: {
    50: '#6c5399',
    500: '#27116f',
    950: '#000000',
  },
}
SCSS
$custom: #27116f;
$custom-light: #6c5399;
$custom-dark: #000000;
JSON
{
  "hex": "#27116f",
  "rgb": {
    "r": 39,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 254.043,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28741,
    "c": 0.14691,
    "h": 282.8
  },
  "luminance": 0.0198
}

Semantic roles & 50–950 ramp

primary
#27116F
secondary
#8CA635
accent
#F038C5
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #27116F

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

Preview Lab → · Contrast checker → · Palette generator →

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