#27105E#27105E

#27105E is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.7% C 0.127 H 287.9°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#27105E
RGBrgb(39, 16, 94)
HSLhsl(258, 71%, 22%)
HSVhsv(258, 83%, 37%)
CMYKcmyk(58.5%, 83%, 0%, 63.1%)
CIE-LABlab(13.29, 32.49, -41.90)
CIE-LCHlch(13.29, 53.02, 307.79°)
OKLaboklab(26.72% 0.039 -0.1206)
OKLCHoklch(26.72% 0.127 287.9)
XYZxyz(3.0418, 1.6099, 10.7380)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27105E #475E10
analogous
#10205E #27105E #4E105E
triadic
#27105E #5E2710 #105E27
tetradic
#27105E #5E1020 #475E10 #105E4E
square
#27105E #5E1020 #475E10 #105E4E
split-complementary
#27105E #5E4E10 #205E10
monochromatic
#0B041A #11072A #27105E #3D1992 #5222C7

Accessibility & contrast

On white

15.89
#27105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#27105E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27105E
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27105E#FFFFFF#000000##FFFFFF
##27105E1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#00205D
Tritanopia (blue-blind)
#102637
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #27105e;
/* rgb */ color: rgb(39, 16, 94);
/* oklch */ color: oklch(26.7% 0.127 287.9);
Tailwind
colors: {
  custom: {
    50: '#69518d',
    500: '#27105e',
    950: '#000000',
  },
}
SCSS
$custom: #27105e;
$custom-light: #69518d;
$custom-dark: #000000;
JSON
{
  "hex": "#27105e",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 257.692,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26717,
    "c": 0.12673,
    "h": 287.9
  },
  "luminance": 0.0161
}

Semantic roles & 50–950 ramp

primary
#27105E
secondary
#799733
accent
#EE3AB9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #27105E

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

Preview Lab → · Contrast checker → · Palette generator →

#27105E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva