#270D2B#270D2B

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

Color values

HEX#270D2B
RGBrgb(39, 13, 43)
HSLhsl(292, 54%, 11%)
HSVhsv(292, 70%, 17%)
CMYKcmyk(9.3%, 69.8%, 0%, 83.1%)
CIE-LABlab(8.07, 19.29, -14.44)
CIE-LCHlch(8.07, 24.09, 323.18°)
OKLaboklab(21.57% 0.0515 -0.04)
OKLCHoklch(21.57% 0.065 322.1)
XYZxyz(1.4166, 0.8937, 2.3829)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270D2B #112B0D
analogous
#180D2B #270D2B #2B0D20
triadic
#270D2B #2B270D #0D2B27
tetradic
#270D2B #2B180D #112B0D #0D202B
square
#270D2B #2B180D #112B0D #0D202B
split-complementary
#270D2B #202B0D #0D2B18
monochromatic
#150717 #150717 #270D2B #521B5A #7C2989

Accessibility & contrast

On white

17.81
#270D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270D2B
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270D2B#FFFFFF#000000##FFFFFF
##270D2B1.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08162C
Deuteranopia (green-blind)
#11192A
Tritanopia (blue-blind)
#28111A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #270d2b;
/* rgb */ color: rgb(39, 13, 43);
/* oklch */ color: oklch(21.6% 0.065 322.1);
Tailwind
colors: {
  custom: {
    50: '#624d64',
    500: '#270d2b',
    950: '#000000',
  },
}
SCSS
$custom: #270d2b;
$custom-light: #624d64;
$custom-dark: #000000;
JSON
{
  "hex": "#270d2b",
  "rgb": {
    "r": 39,
    "g": 13,
    "b": 43
  },
  "hsl": {
    "h": 292,
    "s": 53.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21566,
    "c": 0.06526,
    "h": 322.1
  },
  "luminance": 0.00894
}

Semantic roles & 50–950 ramp

primary
#270D2B
secondary
#36662E
accent
#DD4B5E
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050105
muted
#79777A

Preview Lab

Preview with #270D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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