#270A2B#270A2B

#270A2B is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.071 H 322.7°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#270A2B
RGBrgb(39, 10, 43)
HSLhsl(293, 62%, 10%)
HSVhsv(293, 77%, 17%)
CMYKcmyk(9.3%, 76.7%, 0%, 83.1%)
CIE-LABlab(7.43, 21.01, -15.45)
CIE-LCHlch(7.43, 26.08, 323.67°)
OKLaboklab(21.09% 0.0564 -0.043)
OKLCHoklch(21.09% 0.071 322.7)
XYZxyz(1.3812, 0.8229, 2.3711)
Luminance0.0082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270A2B #0E2B0A
analogous
#160A2B #270A2B #2B0A1E
triadic
#270A2B #2B270A #0A2B27
tetradic
#270A2B #2B160A #0E2B0A #0A1E2B
square
#270A2B #2B160A #0E2B0A #0A1E2B
split-complementary
#270A2B #1E2B0A #0A2B16
monochromatic
#170619 #170619 #270A2B #54165D #81218E

Accessibility & contrast

On white

18.03
#270A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#270A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270A2B
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270A2B#FFFFFF#000000##FFFFFF
##270A2B1.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04142C
Deuteranopia (green-blind)
#0E182A
Tritanopia (blue-blind)
#280F19
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #270a2b;
/* rgb */ color: rgb(39, 10, 43);
/* oklch */ color: oklch(21.1% 0.071 322.7);
Tailwind
colors: {
  custom: {
    50: '#624b64',
    500: '#270a2b',
    950: '#000000',
  },
}
SCSS
$custom: #270a2b;
$custom-light: #624b64;
$custom-dark: #000000;
JSON
{
  "hex": "#270a2b",
  "rgb": {
    "r": 39,
    "g": 10,
    "b": 43
  },
  "hsl": {
    "h": 292.727,
    "s": 62.264,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2109,
    "c": 0.07092,
    "h": 322.7
  },
  "luminance": 0.00823
}

Semantic roles & 50–950 ramp

primary
#270A2B
secondary
#306829
accent
#E54256
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050105
muted
#79777A

Preview Lab

Preview with #270A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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