#270B2A#270B2A

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

Color values

HEX#270B2A
RGBrgb(39, 11, 42)
HSLhsl(294, 58%, 10%)
HSVhsv(294, 74%, 16%)
CMYKcmyk(7.1%, 73.8%, 0%, 83.5%)
CIE-LABlab(7.57, 20.22, -14.49)
CIE-LCHlch(7.57, 24.87, 324.38°)
OKLaboklab(21.17% 0.0547 -0.0402)
OKLCHoklch(21.17% 0.068 323.7)
XYZxyz(1.3743, 0.8379, 2.2794)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270B2A #0E2A0B
analogous
#170B2A #270B2A #2A0B1D
triadic
#270B2A #2A270B #0B2A27
tetradic
#270B2A #2A170B #0E2A0B #0B1D2A
square
#270B2A #2A170B #0E2A0B #0B1D2A
split-complementary
#270B2A #1D2A0B #0B2A17
monochromatic
#170618 #170618 #270B2A #54185A #81248B

Accessibility & contrast

On white

17.99
#270B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270B2A
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270B2A#FFFFFF#000000##FFFFFF
##270B2A1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06152B
Deuteranopia (green-blind)
#101829
Tritanopia (blue-blind)
#280F19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #270b2a;
/* rgb */ color: rgb(39, 11, 42);
/* oklch */ color: oklch(21.2% 0.068 323.7);
Tailwind
colors: {
  custom: {
    50: '#624c63',
    500: '#270b2a',
    950: '#000000',
  },
}
SCSS
$custom: #270b2a;
$custom-light: #624c63;
$custom-dark: #000000;
JSON
{
  "hex": "#270b2a",
  "rgb": {
    "r": 39,
    "g": 11,
    "b": 42
  },
  "hsl": {
    "h": 294.194,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21171,
    "c": 0.06792,
    "h": 323.7
  },
  "luminance": 0.00838
}

Semantic roles & 50–950 ramp

primary
#270B2A
secondary
#30662B
accent
#E24655
background
#F5F4F5
surface
#EAE7EA
border
#C6C3C6
text
#050105
muted
#797779

Preview Lab

Preview with #270B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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