#270E2A#270E2A

#270E2A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.062 H 323.2°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#270E2A
RGBrgb(39, 14, 42)
HSLhsl(294, 50%, 11%)
HSVhsv(294, 67%, 16%)
CMYKcmyk(7.1%, 66.7%, 0%, 83.5%)
CIE-LABlab(8.24, 18.42, -13.43)
CIE-LCHlch(8.24, 22.79, 323.91°)
OKLaboklab(21.67% 0.0497 -0.0371)
OKLCHoklch(21.67% 0.062 323.2)
XYZxyz(1.4116, 0.9126, 2.2918)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E2A #112A0E
analogous
#190E2A #270E2A #2A0E1F
triadic
#270E2A #2A270E #0E2A27
tetradic
#270E2A #2A190E #112A0E #0E1F2A
square
#270E2A #2A190E #112A0E #0E1F2A
split-complementary
#270E2A #1F2A0E #0E2A19
monochromatic
#150817 #150817 #270E2A #521D58 #7C2D86

Accessibility & contrast

On white

17.76
#270E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270E2A
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E2A#FFFFFF#000000##FFFFFF
##270E2A1.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #270e2a;
/* rgb */ color: rgb(39, 14, 42);
/* oklch */ color: oklch(21.7% 0.062 323.2);
Tailwind
colors: {
  custom: {
    50: '#624e63',
    500: '#270e2a',
    950: '#000000',
  },
}
SCSS
$custom: #270e2a;
$custom-light: #624e63;
$custom-dark: #000000;
JSON
{
  "hex": "#270e2a",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 42
  },
  "hsl": {
    "h": 293.571,
    "s": 50,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21669,
    "c": 0.06202,
    "h": 323.2
  },
  "luminance": 0.00913
}

Semantic roles & 50–950 ramp

primary
#270E2A
secondary
#366430
accent
#DA4E5D
background
#F5F4F5
surface
#EAE7EA
border
#C6C3C6
text
#050105
muted
#797779

Preview Lab

Preview with #270E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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