#27102F#27102F

#27102F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.064 H 316.7°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#27102F
RGBrgb(39, 16, 47)
HSLhsl(285, 49%, 12%)
HSVhsv(285, 66%, 18%)
CMYKcmyk(17%, 66%, 0%, 81.6%)
CIE-LABlab(9.05, 18.40, -15.86)
CIE-LCHlch(9.05, 24.29, 319.25°)
OKLaboklab(22.37% 0.0468 -0.0442)
OKLCHoklch(22.37% 0.064 316.7)
XYZxyz(1.5350, 1.0072, 2.8023)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27102F #182F10
analogous
#18102F #27102F #2F1028
triadic
#27102F #2F2710 #102F27
tetradic
#27102F #2F1810 #182F10 #10282F
square
#27102F #2F1810 #182F10 #10282F
split-complementary
#27102F #282F10 #102F18
monochromatic
#130817 #130817 #27102F #4D205D #732F8A

Accessibility & contrast

On white

17.48
#27102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27102F
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27102F#FFFFFF#000000##FFFFFF
##27102F1.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091830
Deuteranopia (green-blind)
#111A2E
Tritanopia (blue-blind)
#27151D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #27102f;
/* rgb */ color: rgb(39, 16, 47);
/* oklch */ color: oklch(22.4% 0.064 316.7);
Tailwind
colors: {
  custom: {
    50: '#624f67',
    500: '#27102f',
    950: '#000000',
  },
}
SCSS
$custom: #27102f;
$custom-light: #624f67;
$custom-dark: #000000;
JSON
{
  "hex": "#27102f",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 284.516,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2237,
    "c": 0.06439,
    "h": 316.7
  },
  "luminance": 0.01007
}

Semantic roles & 50–950 ramp

primary
#27102F
secondary
#416833
accent
#D94F73
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #27102F

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

Preview Lab → · Contrast checker → · Palette generator →

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