#270128#270128

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

Color values

HEX#270128
RGBrgb(39, 1, 40)
HSLhsl(298, 95%, 8%)
HSVhsv(298, 98%, 16%)
CMYKcmyk(2.5%, 97.5%, 0%, 84.3%)
CIE-LABlab(5.48, 24.83, -16.26)
CIE-LCHlch(5.48, 29.68, 326.79°)
OKLaboklab(19.4% 0.0726 -0.0468)
OKLCHoklch(19.4% 0.086 327.2)
XYZxyz(1.2305, 0.6063, 2.0593)
Luminance0.0061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270128 #022801
analogous
#130128 #270128 #280115
triadic
#270128 #282701 #012827
tetradic
#270128 #281301 #022801 #011528
square
#270128 #281301 #022801 #011528
split-complementary
#270128 #152801 #012813
monochromatic
#1D011E #1D011E #270128 #610264 #9B049F

Accessibility & contrast

On white

18.73
#270128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270128
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270128#FFFFFF#000000##FFFFFF
##2701281.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F29
Deuteranopia (green-blind)
#091427
Tritanopia (blue-blind)
#280614
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #270128;
/* rgb */ color: rgb(39, 1, 40);
/* oklch */ color: oklch(19.4% 0.086 327.2);
Tailwind
colors: {
  custom: {
    50: '#634662',
    500: '#270128',
    950: '#000000',
  },
}
SCSS
$custom: #270128;
$custom-light: #634662;
$custom-dark: #000000;
JSON
{
  "hex": "#270128",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 40
  },
  "hsl": {
    "h": 298.462,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.19399,
    "c": 0.0864,
    "h": 327.2
  },
  "luminance": 0.00606
}

Semantic roles & 50–950 ramp

primary
#270128
secondary
#186F16
accent
#FF292E
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#050005
muted
#7A7779

Preview Lab

Preview with #270128

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

Preview Lab → · Contrast checker → · Palette generator →

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