#270027#270027

#270027 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.1% C 0.088 H 328.4°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#270027
RGBrgb(39, 0, 39)
HSLhsl(300, 100%, 8%)
HSVhsv(300, 100%, 15%)
CMYKcmyk(0%, 100%, 0%, 84.7%)
CIE-LABlab(5.22, 25.05, -15.89)
CIE-LCHlch(5.22, 29.67, 327.61°)
OKLaboklab(19.14% 0.0749 -0.0461)
OKLCHoklch(19.14% 0.088 328.4)
XYZxyz(1.2029, 0.5779, 1.9673)
Luminance0.0058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270027 #002700
analogous
#130027 #270027 #270013
triadic
#270027 #272700 #002727
tetradic
#270027 #271300 #002700 #001327
square
#270027 #271300 #002700 #001327
split-complementary
#270027 #132700 #002713
monochromatic
#1F001F #1F001F #270027 #640064 #A100A1

Accessibility & contrast

On white

18.82
#270027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#270027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270027
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270027#FFFFFF#000000##FFFFFF
##2700271.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E28
Deuteranopia (green-blind)
#091326
Tritanopia (blue-blind)
#290512
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #270027;
/* rgb */ color: rgb(39, 0, 39);
/* oklch */ color: oklch(19.1% 0.088 328.4);
Tailwind
colors: {
  custom: {
    50: '#634661',
    500: '#270027',
    950: '#000000',
  },
}
SCSS
$custom: #270027;
$custom-light: #634661;
$custom-dark: #000000;
JSON
{
  "hex": "#270027",
  "rgb": {
    "r": 39,
    "g": 0,
    "b": 39
  },
  "hsl": {
    "h": 300,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.19138,
    "c": 0.08796,
    "h": 328.4
  },
  "luminance": 0.00578
}

Semantic roles & 50–950 ramp

primary
#270027
secondary
#146F14
accent
#FF2929
background
#F6F3F5
surface
#EBE5E9
border
#C6C1C5
text
#050005
muted
#7A7679

Preview Lab

Preview with #270027

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

Preview Lab → · Contrast checker → · Palette generator →

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