#270E2D#270E2D

#270E2D is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.066 H 319.5°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#270E2D
RGBrgb(39, 14, 45)
HSLhsl(288, 53%, 12%)
HSVhsv(288, 69%, 18%)
CMYKcmyk(13.3%, 68.9%, 0%, 82.4%)
CIE-LABlab(8.44, 19.17, -15.35)
CIE-LCHlch(8.44, 24.56, 321.31°)
OKLaboklab(21.88% 0.05 -0.0427)
OKLCHoklch(21.88% 0.066 319.5)
XYZxyz(1.4673, 0.9349, 2.5853)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E2D #142D0E
analogous
#180E2D #270E2D #2D0E24
triadic
#270E2D #2D270E #0E2D27
tetradic
#270E2D #2D180E #142D0E #0E242D
square
#270E2D #2D180E #142D0E #0E242D
split-complementary
#270E2D #242D0E #0E2D18
monochromatic
#140717 #140717 #270E2D #4F1D5C #782B8A

Accessibility & contrast

On white

17.69
#270E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270E2D
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E2D#FFFFFF#000000##FFFFFF
##270E2D1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172E
Deuteranopia (green-blind)
#10192C
Tritanopia (blue-blind)
#27131B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #270e2d;
/* rgb */ color: rgb(39, 14, 45);
/* oklch */ color: oklch(21.9% 0.066 319.5);
Tailwind
colors: {
  custom: {
    50: '#624e66',
    500: '#270e2d',
    950: '#000000',
  },
}
SCSS
$custom: #270e2d;
$custom-light: #624e66;
$custom-dark: #000000;
JSON
{
  "hex": "#270e2d",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 45
  },
  "hsl": {
    "h": 288.387,
    "s": 52.542,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21876,
    "c": 0.06578,
    "h": 319.5
  },
  "luminance": 0.00935
}

Semantic roles & 50–950 ramp

primary
#270E2D
secondary
#3A6730
accent
#DC4C68
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #270E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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