#270D2F#270D2F

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

Color values

HEX#270D2F
RGBrgb(39, 13, 47)
HSLhsl(286, 57%, 12%)
HSVhsv(286, 72%, 18%)
CMYKcmyk(17%, 72.3%, 0%, 81.6%)
CIE-LABlab(8.35, 20.30, -16.98)
CIE-LCHlch(8.35, 26.46, 320.09°)
OKLaboklab(21.85% 0.0518 -0.0474)
OKLCHoklch(21.85% 0.07 317.5)
XYZxyz(1.4936, 0.9245, 2.7885)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270D2F #152F0D
analogous
#160D2F #270D2F #2F0D26
triadic
#270D2F #2F270D #0D2F27
tetradic
#270D2F #2F160D #152F0D #0D262F
square
#270D2F #2F160D #152F0D #0D262F
split-complementary
#270D2F #262F0D #0D2F16
monochromatic
#140718 #140718 #270D2F #4F1A5F #77288F

Accessibility & contrast

On white

17.72
#270D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270D2F
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270D2F#FFFFFF#000000##FFFFFF
##270D2F1.0017.721.1817.72
#FFFFFF17.721.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051730
Deuteranopia (green-blind)
#0E192E
Tritanopia (blue-blind)
#27131C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #270d2f;
/* rgb */ color: rgb(39, 13, 47);
/* oklch */ color: oklch(21.9% 0.070 317.5);
Tailwind
colors: {
  custom: {
    50: '#624d67',
    500: '#270d2f',
    950: '#000000',
  },
}
SCSS
$custom: #270d2f;
$custom-light: #624d67;
$custom-dark: #000000;
JSON
{
  "hex": "#270d2f",
  "rgb": {
    "r": 39,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 285.882,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21854,
    "c": 0.07025,
    "h": 317.5
  },
  "luminance": 0.00924
}

Semantic roles & 50–950 ramp

primary
#270D2F
secondary
#3C6A2E
accent
#E0486C
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #270D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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