#27102D#27102D

#27102D is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.2% C 0.062 H 319.0°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#27102D
RGBrgb(39, 16, 45)
HSLhsl(288, 48%, 12%)
HSVhsv(288, 64%, 18%)
CMYKcmyk(13.3%, 64.4%, 0%, 82.4%)
CIE-LABlab(8.92, 17.88, -14.59)
CIE-LCHlch(8.92, 23.08, 320.79°)
OKLaboklab(22.23% 0.0466 -0.0405)
OKLCHoklch(22.23% 0.062 319)
XYZxyz(1.4956, 0.9914, 2.5947)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27102D #162D10
analogous
#19102D #27102D #2D1025
triadic
#27102D #2D2710 #102D27
tetradic
#27102D #2D1910 #162D10 #10252D
square
#27102D #2D1910 #162D10 #10252D
split-complementary
#27102D #252D10 #102D19
monochromatic
#140817 #140817 #27102D #4E205A #753087

Accessibility & contrast

On white

17.53
#27102D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#27102D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27102D
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27102D#FFFFFF#000000##FFFFFF
##27102D1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182E
Deuteranopia (green-blind)
#121A2C
Tritanopia (blue-blind)
#27141C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #27102d;
/* rgb */ color: rgb(39, 16, 45);
/* oklch */ color: oklch(22.2% 0.062 319.0);
Tailwind
colors: {
  custom: {
    50: '#624f66',
    500: '#27102d',
    950: '#000000',
  },
}
SCSS
$custom: #27102d;
$custom-light: #624f66;
$custom-dark: #000000;
JSON
{
  "hex": "#27102d",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 45
  },
  "hsl": {
    "h": 287.586,
    "s": 47.541,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22231,
    "c": 0.06174,
    "h": 319
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#27102D
secondary
#3D6633
accent
#D7516C
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #27102D

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

Preview Lab → · Contrast checker → · Palette generator →

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