#27108D#27108D

#27108D is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.2% C 0.183 H 277.0°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#27108D
RGBrgb(39, 16, 141)
HSLhsl(251, 80%, 31%)
HSVhsv(251, 89%, 55%)
CMYKcmyk(72.3%, 88.7%, 0%, 44.7%)
CIE-LABlab(18.90, 46.71, -62.96)
CIE-LCHlch(18.90, 78.40, 306.57°)
OKLaboklab(32.22% 0.0222 -0.1818)
OKLCHoklch(32.22% 0.183 277)
XYZxyz(5.8281, 2.7245, 25.4129)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27108D #768D10
analogous
#10378D #27108D #65108D
triadic
#27108D #8D2710 #108D27
tetradic
#27108D #8D1037 #768D10 #108D65
square
#27108D #8D1037 #768D10 #108D65
split-complementary
#27108D #8D6510 #378D10
monochromatic
#09041F #180A56 #27108D #3616C4 #5230E7

Accessibility & contrast

On white

13.59
#27108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#27108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27108D
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27108D#FFFFFF#000000##FFFFFF
##27108D1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#00298B
Tritanopia (blue-blind)
#003A52
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #27108d;
/* rgb */ color: rgb(39, 16, 141);
/* oklch */ color: oklch(32.2% 0.183 277.0);
Tailwind
colors: {
  custom: {
    50: '#7355b0',
    500: '#27108d',
    950: '#000000',
  },
}
SCSS
$custom: #27108d;
$custom-light: #7355b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27108d",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 251.04,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32224,
    "c": 0.18319,
    "h": 277
  },
  "luminance": 0.02725
}

Semantic roles & 50–950 ramp

primary
#27108D
secondary
#A8C237
accent
#F632D2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #27108D

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

Preview Lab → · Contrast checker → · Palette generator →

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