#270C30#270C30

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

Color values

HEX#270C30
RGBrgb(39, 12, 48)
HSLhsl(285, 60%, 12%)
HSVhsv(285, 75%, 19%)
CMYKcmyk(18.7%, 75%, 0%, 81.2%)
CIE-LABlab(8.20, 21.16, -17.95)
CIE-LCHlch(8.20, 27.75, 319.69°)
OKLaboklab(21.77% 0.0534 -0.0503)
OKLCHoklch(21.77% 0.073 316.7)
XYZxyz(1.5016, 0.9077, 2.8918)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270C30 #15300C
analogous
#150C30 #270C30 #300C27
triadic
#270C30 #30270C #0C3027
tetradic
#270C30 #30150C #15300C #0C2730
square
#270C30 #30150C #15300C #0C2730
split-complementary
#270C30 #27300C #0C3015
monochromatic
#140618 #140618 #270C30 #4F1861 #772492

Accessibility & contrast

On white

17.77
#270C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270C30
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270C30#FFFFFF#000000##FFFFFF
##270C301.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031631
Deuteranopia (green-blind)
#0D192F
Tritanopia (blue-blind)
#27121C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #270c30;
/* rgb */ color: rgb(39, 12, 48);
/* oklch */ color: oklch(21.8% 0.073 316.7);
Tailwind
colors: {
  custom: {
    50: '#634d68',
    500: '#270c30',
    950: '#000000',
  },
}
SCSS
$custom: #270c30;
$custom-light: #634d68;
$custom-dark: #000000;
JSON
{
  "hex": "#270c30",
  "rgb": {
    "r": 39,
    "g": 12,
    "b": 48
  },
  "hsl": {
    "h": 285,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2177,
    "c": 0.07335,
    "h": 316.7
  },
  "luminance": 0.00908
}

Semantic roles & 50–950 ramp

primary
#270C30
secondary
#3C6C2C
accent
#E3456C
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #270C30

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

Preview Lab → · Contrast checker → · Palette generator →

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