#270E27#270E27

#270E27 is a very dark, muted purple. Relative luminance 0.009; OKLCH L 21.5% C 0.058 H 327.4°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#270E27
RGBrgb(39, 14, 39)
HSLhsl(300, 47%, 10%)
HSVhsv(300, 64%, 15%)
CMYKcmyk(0%, 64.1%, 0%, 84.7%)
CIE-LABlab(8.06, 17.69, -11.46)
CIE-LCHlch(8.06, 21.08, 327.05°)
OKLaboklab(21.47% 0.0492 -0.0315)
OKLCHoklch(21.47% 0.058 327.4)
XYZxyz(1.3599, 0.8920, 2.0196)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E27 #0E270E
analogous
#1A0E27 #270E27 #270E1A
triadic
#270E27 #27270E #0E2727
tetradic
#270E27 #271A0E #0E270E #0E1A27
square
#270E27 #271A0E #0E270E #0E1A27
split-complementary
#270E27 #1A270E #0E271A
monochromatic
#170817 #170817 #270E27 #541E54 #812E81

Accessibility & contrast

On white

17.82
#270E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##270E27#FFFFFF#000000##FFFFFF
##270E271.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)
#0C1628
Deuteranopia (green-blind)
#131926
Tritanopia (blue-blind)
#281118
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #270e27;
/* rgb */ color: rgb(39, 14, 39);
/* oklch */ color: oklch(21.5% 0.058 327.4);
Tailwind
colors: {
  custom: {
    50: '#624d61',
    500: '#270e27',
    950: '#000000',
  },
}
SCSS
$custom: #270e27;
$custom-light: #624d61;
$custom-dark: #000000;
JSON
{
  "hex": "#270e27",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 39
  },
  "hsl": {
    "h": 300,
    "s": 47.17,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21473,
    "c": 0.05838,
    "h": 327.4
  },
  "luminance": 0.00892
}

Semantic roles & 50–950 ramp

primary
#270E27
secondary
#306030
accent
#D75151
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050105
muted
#797779

Preview Lab

Preview with #270E27

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

Preview Lab → · Contrast checker → · Palette generator →

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