#270127#270127

#270127 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.3% C 0.086 H 328.3°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#270127
RGBrgb(39, 1, 39)
HSLhsl(300, 95%, 8%)
HSVhsv(300, 97%, 15%)
CMYKcmyk(0%, 97.4%, 0%, 84.7%)
CIE-LABlab(5.42, 24.56, -15.59)
CIE-LCHlch(5.42, 29.09, 327.59°)
OKLaboklab(19.32% 0.0727 -0.0449)
OKLCHoklch(19.32% 0.086 328.3)
XYZxyz(1.2137, 0.5996, 1.9709)
Luminance0.0060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270127 #012701
analogous
#140127 #270127 #270114
triadic
#270127 #272701 #012727
tetradic
#270127 #271401 #012701 #011427
square
#270127 #271401 #012701 #011427
split-complementary
#270127 #142701 #012714
monochromatic
#1E011E #1E011E #270127 #630363 #9E049E

Accessibility & contrast

On white

18.75
#270127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270127
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270127#FFFFFF#000000##FFFFFF
##2701271.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E28
Deuteranopia (green-blind)
#0A1426
Tritanopia (blue-blind)
#290613
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #270127;
/* rgb */ color: rgb(39, 1, 39);
/* oklch */ color: oklch(19.3% 0.086 328.3);
Tailwind
colors: {
  custom: {
    50: '#634661',
    500: '#270127',
    950: '#000000',
  },
}
SCSS
$custom: #270127;
$custom-light: #634661;
$custom-dark: #000000;
JSON
{
  "hex": "#270127",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 300,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.19318,
    "c": 0.0855,
    "h": 328.3
  },
  "luminance": 0.006
}

Semantic roles & 50–950 ramp

primary
#270127
secondary
#166E16
accent
#FF2929
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050005
muted
#7A7779

Preview Lab

Preview with #270127

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

Preview Lab → · Contrast checker → · Palette generator →

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