#270936#270936

#270936 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.086 H 311.9°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#270936
RGBrgb(39, 9, 54)
HSLhsl(280, 71%, 12%)
HSVhsv(280, 83%, 21%)
CMYKcmyk(27.8%, 83.3%, 0%, 78.8%)
CIE-LABlab(8.07, 24.41, -22.56)
CIE-LCHlch(8.07, 33.24, 317.25°)
OKLaboklab(21.83% 0.0572 -0.0637)
OKLCHoklch(21.83% 0.086 311.9)
XYZxyz(1.6001, 0.8931, 3.5774)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270936 #183609
analogous
#100936 #270936 #36092F
triadic
#270936 #362709 #093627
tetradic
#270936 #361009 #183609 #092F36
square
#270936 #361009 #183609 #092F36
split-complementary
#270936 #2F3609 #093610
monochromatic
#13041A #13041A #270936 #4D126A #731A9F

Accessibility & contrast

On white

17.82
#270936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#270936 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270936
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270936#FFFFFF#000000##FFFFFF
##2709361.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#051835
Tritanopia (blue-blind)
#25131E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #270936;
/* rgb */ color: rgb(39, 9, 54);
/* oklch */ color: oklch(21.8% 0.086 311.9);
Tailwind
colors: {
  custom: {
    50: '#634b6d',
    500: '#270936',
    950: '#000000',
  },
}
SCSS
$custom: #270936;
$custom-light: #634b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#270936",
  "rgb": {
    "r": 39,
    "g": 9,
    "b": 54
  },
  "hsl": {
    "h": 280,
    "s": 71.429,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21827,
    "c": 0.08566,
    "h": 311.9
  },
  "luminance": 0.00893
}

Semantic roles & 50–950 ramp

primary
#270936
secondary
#417427
accent
#EE3A76
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #270936

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

Preview Lab → · Contrast checker → · Palette generator →

#270936 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva