#270D2A#270D2A

#270D2A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.5% C 0.064 H 323.4°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#270D2A
RGBrgb(39, 13, 42)
HSLhsl(294, 53%, 11%)
HSVhsv(294, 69%, 16%)
CMYKcmyk(7.1%, 69%, 0%, 83.5%)
CIE-LABlab(8.01, 19.04, -13.80)
CIE-LCHlch(8.01, 23.52, 324.08°)
OKLaboklab(21.5% 0.0514 -0.0382)
OKLCHoklch(21.5% 0.064 323.4)
XYZxyz(1.3985, 0.8864, 2.2875)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270D2A #102A0D
analogous
#180D2A #270D2A #2A0D1E
triadic
#270D2A #2A270D #0D2A27
tetradic
#270D2A #2A180D #102A0D #0D1E2A
square
#270D2A #2A180D #102A0D #0D1E2A
split-complementary
#270D2A #1E2A0D #0D2A18
monochromatic
#160717 #160717 #270D2A #521B59 #7E2A87

Accessibility & contrast

On white

17.84
#270D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#270D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270D2A
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270D2A#FFFFFF#000000##FFFFFF
##270D2A1.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09162B
Deuteranopia (green-blind)
#111929
Tritanopia (blue-blind)
#281119
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #270d2a;
/* rgb */ color: rgb(39, 13, 42);
/* oklch */ color: oklch(21.5% 0.064 323.4);
Tailwind
colors: {
  custom: {
    50: '#624d63',
    500: '#270d2a',
    950: '#000000',
  },
}
SCSS
$custom: #270d2a;
$custom-light: #624d63;
$custom-dark: #000000;
JSON
{
  "hex": "#270d2a",
  "rgb": {
    "r": 39,
    "g": 13,
    "b": 42
  },
  "hsl": {
    "h": 293.793,
    "s": 52.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21497,
    "c": 0.06404,
    "h": 323.4
  },
  "luminance": 0.00886
}

Semantic roles & 50–950 ramp

primary
#270D2A
secondary
#34642E
accent
#DC4C5B
background
#F5F4F5
surface
#EAE7EA
border
#C6C3C6
text
#050105
muted
#797779

Preview Lab

Preview with #270D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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