#270D2E#270D2E

#270D2E is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.069 H 318.6°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#270D2E
RGBrgb(39, 13, 46)
HSLhsl(287, 56%, 12%)
HSVhsv(287, 72%, 18%)
CMYKcmyk(15.2%, 71.7%, 0%, 82%)
CIE-LABlab(8.28, 20.04, -16.35)
CIE-LCHlch(8.28, 25.86, 320.80°)
OKLaboklab(21.78% 0.0518 -0.0456)
OKLCHoklch(21.78% 0.069 318.6)
XYZxyz(1.4737, 0.9165, 2.6835)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270D2E #142E0D
analogous
#170D2E #270D2E #2E0D25
triadic
#270D2E #2E270D #0D2E27
tetradic
#270D2E #2E170D #142E0D #0D252E
square
#270D2E #2E170D #142E0D #0D252E
split-complementary
#270D2E #252E0D #0D2E17
monochromatic
#140718 #140718 #270D2E #4F1A5E #78288D

Accessibility & contrast

On white

17.75
#270D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270D2E
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270D2E#FFFFFF#000000##FFFFFF
##270D2E1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06162F
Deuteranopia (green-blind)
#0F192D
Tritanopia (blue-blind)
#27121B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #270d2e;
/* rgb */ color: rgb(39, 13, 46);
/* oklch */ color: oklch(21.8% 0.069 318.6);
Tailwind
colors: {
  custom: {
    50: '#624d67',
    500: '#270d2e',
    950: '#000000',
  },
}
SCSS
$custom: #270d2e;
$custom-light: #624d67;
$custom-dark: #000000;
JSON
{
  "hex": "#270d2e",
  "rgb": {
    "r": 39,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 287.273,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2178,
    "c": 0.06899,
    "h": 318.6
  },
  "luminance": 0.00916
}

Semantic roles & 50–950 ramp

primary
#270D2E
secondary
#3A692E
accent
#DF4969
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #270D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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