#270A29#270A29

#270A29 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.069 H 325.1°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#270A29
RGBrgb(39, 10, 41)
HSLhsl(296, 61%, 10%)
HSVhsv(296, 76%, 16%)
CMYKcmyk(4.9%, 75.6%, 0%, 83.9%)
CIE-LABlab(7.30, 20.50, -14.15)
CIE-LCHlch(7.30, 24.91, 325.39°)
OKLaboklab(20.95% 0.0563 -0.0393)
OKLCHoklch(20.95% 0.069 325.1)
XYZxyz(1.3454, 0.8086, 2.1826)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270A29 #0C290A
analogous
#170A29 #270A29 #290A1C
triadic
#270A29 #29270A #0A2927
tetradic
#270A29 #29170A #0C290A #0A1C29
square
#270A29 #29170A #0C290A #0A1C29
split-complementary
#270A29 #1C290A #0A2917
monochromatic
#170619 #170619 #270A29 #56165A #85228B

Accessibility & contrast

On white

18.08
#270A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#270A29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270A29
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270A29#FFFFFF#000000##FFFFFF
##270A291.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06142A
Deuteranopia (green-blind)
#101728
Tritanopia (blue-blind)
#280E18
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #270a29;
/* rgb */ color: rgb(39, 10, 41);
/* oklch */ color: oklch(20.9% 0.069 325.1);
Tailwind
colors: {
  custom: {
    50: '#624b63',
    500: '#270a29',
    950: '#000000',
  },
}
SCSS
$custom: #270a29;
$custom-light: #624b63;
$custom-dark: #000000;
JSON
{
  "hex": "#270a29",
  "rgb": {
    "r": 39,
    "g": 10,
    "b": 41
  },
  "hsl": {
    "h": 296.129,
    "s": 60.784,
    "l": 10
  },
  "oklch": {
    "l": 0.20947,
    "c": 0.06861,
    "h": 325.1
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#270A29
secondary
#2D6629
accent
#E4444E
background
#F5F4F5
surface
#EAE7EA
border
#C6C3C6
text
#050105
muted
#797779

Preview Lab

Preview with #270A29

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

Preview Lab → · Contrast checker → · Palette generator →

#270A29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva