#270928#270928

#270928 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.7% C 0.069 H 326.4°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#270928
RGBrgb(39, 9, 40)
HSLhsl(298, 63%, 10%)
HSVhsv(298, 78%, 16%)
CMYKcmyk(2.5%, 77.5%, 0%, 84.3%)
CIE-LABlab(7.05, 20.77, -13.80)
CIE-LCHlch(7.05, 24.94, 326.40°)
OKLaboklab(20.72% 0.0578 -0.0384)
OKLCHoklch(20.72% 0.069 326.4)
XYZxyz(1.3174, 0.7800, 2.0882)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270928 #0A2809
analogous
#180928 #270928 #28091A
triadic
#270928 #282709 #092827
tetradic
#270928 #281809 #0A2809 #091A28
square
#270928 #281809 #0A2809 #091A28
split-complementary
#270928 #1A2809 #092818
monochromatic
#180619 #180619 #270928 #58145A #881F8C

Accessibility & contrast

On white

18.17
#270928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#270928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270928
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270928#FFFFFF#000000##FFFFFF
##2709281.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051329
Deuteranopia (green-blind)
#0F1727
Tritanopia (blue-blind)
#280D17
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #270928;
/* rgb */ color: rgb(39, 9, 40);
/* oklch */ color: oklch(20.7% 0.069 326.4);
Tailwind
colors: {
  custom: {
    50: '#624b62',
    500: '#270928',
    950: '#000000',
  },
}
SCSS
$custom: #270928;
$custom-light: #624b62;
$custom-dark: #000000;
JSON
{
  "hex": "#270928",
  "rgb": {
    "r": 39,
    "g": 9,
    "b": 40
  },
  "hsl": {
    "h": 298.065,
    "s": 63.265,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20723,
    "c": 0.06936,
    "h": 326.4
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#270928
secondary
#296627
accent
#E64147
background
#F5F4F5
surface
#EAE7EA
border
#C6C3C6
text
#050105
muted
#797779

Preview Lab

Preview with #270928

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

Preview Lab → · Contrast checker → · Palette generator →

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