#270028#270028

#270028 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.2% C 0.089 H 327.3°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#270028
RGBrgb(39, 0, 40)
HSLhsl(299, 100%, 8%)
HSVhsv(299, 100%, 16%)
CMYKcmyk(2.5%, 100%, 0%, 84.3%)
CIE-LABlab(5.28, 25.33, -16.56)
CIE-LCHlch(5.28, 30.27, 326.82°)
OKLaboklab(19.22% 0.0747 -0.048)
OKLCHoklch(19.22% 0.089 327.3)
XYZxyz(1.2197, 0.5846, 2.0557)
Luminance0.0059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270028 #012800
analogous
#130028 #270028 #280015
triadic
#270028 #282700 #002827
tetradic
#270028 #281300 #012800 #001528
square
#270028 #281300 #012800 #001528
split-complementary
#270028 #152800 #002813
monochromatic
#1E001F #1E001F #270028 #630065 #9E00A2

Accessibility & contrast

On white

18.80
#270028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270028
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270028#FFFFFF#000000##FFFFFF
##2700281.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E29
Deuteranopia (green-blind)
#091327
Tritanopia (blue-blind)
#280513
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #270028;
/* rgb */ color: rgb(39, 0, 40);
/* oklch */ color: oklch(19.2% 0.089 327.3);
Tailwind
colors: {
  custom: {
    50: '#634662',
    500: '#270028',
    950: '#000000',
  },
}
SCSS
$custom: #270028;
$custom-light: #634662;
$custom-dark: #000000;
JSON
{
  "hex": "#270028",
  "rgb": {
    "r": 39,
    "g": 0,
    "b": 40
  },
  "hsl": {
    "h": 298.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.19219,
    "c": 0.08881,
    "h": 327.3
  },
  "luminance": 0.00585
}

Semantic roles & 50–950 ramp

primary
#270028
secondary
#167014
accent
#FF292E
background
#F6F3F5
surface
#EBE5EA
border
#C6C1C6
text
#050005
muted
#7A7679

Preview Lab

Preview with #270028

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

Preview Lab → · Contrast checker → · Palette generator →

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