#270D2C#270D2C

#270D2C is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.066 H 320.9°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#270D2C
RGBrgb(39, 13, 44)
HSLhsl(290, 54%, 11%)
HSVhsv(290, 70%, 17%)
CMYKcmyk(11.4%, 70.5%, 0%, 82.7%)
CIE-LABlab(8.14, 19.54, -15.08)
CIE-LCHlch(8.14, 24.68, 322.34°)
OKLaboklab(21.64% 0.0516 -0.0419)
OKLCHoklch(21.64% 0.066 320.9)
XYZxyz(1.4352, 0.9011, 2.4807)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270D2C #122C0D
analogous
#170D2C #270D2C #2C0D21
triadic
#270D2C #2C270D #0D2C27
tetradic
#270D2C #2C170D #122C0D #0D212C
square
#270D2C #2C170D #122C0D #0D212C
split-complementary
#270D2C #212C0D #0D2C17
monochromatic
#150718 #150718 #270D2C #511B5B #7B298A

Accessibility & contrast

On white

17.79
#270D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270D2C
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270D2C#FFFFFF#000000##FFFFFF
##270D2C1.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07162D
Deuteranopia (green-blind)
#10192B
Tritanopia (blue-blind)
#27121A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #270d2c;
/* rgb */ color: rgb(39, 13, 44);
/* oklch */ color: oklch(21.6% 0.066 320.9);
Tailwind
colors: {
  custom: {
    50: '#624d65',
    500: '#270d2c',
    950: '#000000',
  },
}
SCSS
$custom: #270d2c;
$custom-light: #624d65;
$custom-dark: #000000;
JSON
{
  "hex": "#270d2c",
  "rgb": {
    "r": 39,
    "g": 13,
    "b": 44
  },
  "hsl": {
    "h": 290.323,
    "s": 54.386,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21636,
    "c": 0.06649,
    "h": 320.9
  },
  "luminance": 0.00901
}

Semantic roles & 50–950 ramp

primary
#270D2C
secondary
#37672E
accent
#DE4A62
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050105
muted
#79777A

Preview Lab

Preview with #270D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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