#271027#271027

#271027 is a very dark, muted purple. Relative luminance 0.009; OKLCH L 21.8% C 0.054 H 327.2°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#271027
RGBrgb(39, 16, 39)
HSLhsl(300, 42%, 11%)
HSVhsv(300, 59%, 15%)
CMYKcmyk(0%, 59%, 0%, 84.7%)
CIE-LABlab(8.55, 16.38, -10.69)
CIE-LCHlch(8.55, 19.56, 326.88°)
OKLaboklab(21.84% 0.0455 -0.0293)
OKLCHoklch(21.84% 0.054 327.2)
XYZxyz(1.3882, 0.9485, 2.0290)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271027 #102710
analogous
#1B1027 #271027 #27101B
triadic
#271027 #272710 #102727
tetradic
#271027 #271B10 #102710 #101B27
square
#271027 #271B10 #102710 #101B27
split-complementary
#271027 #1B2710 #10271B
monochromatic
#160916 #160916 #271027 #522252 #7E347E

Accessibility & contrast

On white

17.65
#271027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#271027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271027
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271027#FFFFFF#000000##FFFFFF
##2710271.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1728
Deuteranopia (green-blind)
#151A26
Tritanopia (blue-blind)
#281219
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #271027;
/* rgb */ color: rgb(39, 16, 39);
/* oklch */ color: oklch(21.8% 0.054 327.2);
Tailwind
colors: {
  custom: {
    50: '#624f61',
    500: '#271027',
    950: '#000000',
  },
}
SCSS
$custom: #271027;
$custom-light: #624f61;
$custom-dark: #000000;
JSON
{
  "hex": "#271027",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 300,
    "s": 41.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21841,
    "c": 0.05409,
    "h": 327.2
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#271027
secondary
#345F34
accent
#D25656
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050205
muted
#797879

Preview Lab

Preview with #271027

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

Preview Lab → · Contrast checker → · Palette generator →

#271027 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva