#270B2B#270B2B

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

Color values

HEX#270B2B
RGBrgb(39, 11, 43)
HSLhsl(293, 59%, 11%)
HSVhsv(293, 74%, 17%)
CMYKcmyk(9.3%, 74.4%, 0%, 83.1%)
CIE-LABlab(7.63, 20.47, -15.13)
CIE-LCHlch(7.63, 25.45, 323.53°)
OKLaboklab(21.24% 0.0548 -0.0421)
OKLCHoklch(21.24% 0.069 322.5)
XYZxyz(1.3924, 0.8452, 2.3748)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270B2B #0F2B0B
analogous
#170B2B #270B2B #2B0B1F
triadic
#270B2B #2B270B #0B2B27
tetradic
#270B2B #2B170B #0F2B0B #0B1F2B
square
#270B2B #2B170B #0F2B0B #0B1F2B
split-complementary
#270B2B #1F2B0B #0B2B17
monochromatic
#160618 #160618 #270B2B #53175C #7F248C

Accessibility & contrast

On white

17.96
#270B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#270B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270B2B
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270B2B#FFFFFF#000000##FFFFFF
##270B2B1.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05152C
Deuteranopia (green-blind)
#0F182A
Tritanopia (blue-blind)
#281019
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #270b2b;
/* rgb */ color: rgb(39, 11, 43);
/* oklch */ color: oklch(21.2% 0.069 322.5);
Tailwind
colors: {
  custom: {
    50: '#624c64',
    500: '#270b2b',
    950: '#000000',
  },
}
SCSS
$custom: #270b2b;
$custom-light: #624c64;
$custom-dark: #000000;
JSON
{
  "hex": "#270b2b",
  "rgb": {
    "r": 39,
    "g": 11,
    "b": 43
  },
  "hsl": {
    "h": 292.5,
    "s": 59.259,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21242,
    "c": 0.06909,
    "h": 322.5
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#270B2B
secondary
#32672B
accent
#E24559
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050105
muted
#79777A

Preview Lab

Preview with #270B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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