#270F2A#270F2A

#270F2A is a very dark, muted purple. Relative luminance 0.009; OKLCH L 21.8% C 0.060 H 323.0°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#270F2A
RGBrgb(39, 15, 42)
HSLhsl(293, 47%, 11%)
HSVhsv(293, 64%, 16%)
CMYKcmyk(7.1%, 64.3%, 0%, 83.5%)
CIE-LABlab(8.48, 17.77, -13.05)
CIE-LCHlch(8.48, 22.05, 323.72°)
OKLaboklab(21.85% 0.0479 -0.036)
OKLCHoklch(21.85% 0.06 323)
XYZxyz(1.4254, 0.9402, 2.2964)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270F2A #122A0F
analogous
#190F2A #270F2A #2A0F1F
triadic
#270F2A #2A270F #0F2A27
tetradic
#270F2A #2A190F #122A0F #0F1F2A
square
#270F2A #2A190F #122A0F #0F1F2A
split-complementary
#270F2A #1F2A0F #0F2A19
monochromatic
#150817 #150817 #270F2A #511F57 #7B2F84

Accessibility & contrast

On white

17.68
#270F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#270F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270F2A
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270F2A#FFFFFF#000000##FFFFFF
##270F2A1.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B172B
Deuteranopia (green-blind)
#131929
Tritanopia (blue-blind)
#28121A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #270f2a;
/* rgb */ color: rgb(39, 15, 42);
/* oklch */ color: oklch(21.8% 0.060 323.0);
Tailwind
colors: {
  custom: {
    50: '#624e63',
    500: '#270f2a',
    950: '#000000',
  },
}
SCSS
$custom: #270f2a;
$custom-light: #624e63;
$custom-dark: #000000;
JSON
{
  "hex": "#270f2a",
  "rgb": {
    "r": 39,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 293.333,
    "s": 47.368,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21847,
    "c": 0.05995,
    "h": 323
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#270F2A
secondary
#376332
accent
#D75160
background
#F5F4F5
surface
#EAE7EA
border
#C6C3C6
text
#050105
muted
#797779

Preview Lab

Preview with #270F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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