#270B2D#270B2D

#270B2D is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.4% C 0.071 H 320.2°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#270B2D
RGBrgb(39, 11, 45)
HSLhsl(289, 61%, 11%)
HSVhsv(289, 76%, 18%)
CMYKcmyk(13.3%, 75.6%, 0%, 82.4%)
CIE-LABlab(7.77, 20.98, -16.41)
CIE-LCHlch(7.77, 26.63, 321.97°)
OKLaboklab(21.39% 0.0549 -0.0458)
OKLCHoklch(21.39% 0.071 320.2)
XYZxyz(1.4300, 0.8602, 2.5728)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270B2D #112D0B
analogous
#160B2D #270B2D #2D0B22
triadic
#270B2D #2D270B #0B2D27
tetradic
#270B2D #2D160B #112D0B #0B222D
square
#270B2D #2D160B #112D0B #0B222D
split-complementary
#270B2D #222D0B #0B2D16
monochromatic
#150619 #150619 #270B2D #52175E #7C238F

Accessibility & contrast

On white

17.92
#270B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#270B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270B2D
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270B2D#FFFFFF#000000##FFFFFF
##270B2D1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04152E
Deuteranopia (green-blind)
#0E182C
Tritanopia (blue-blind)
#27111A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #270b2d;
/* rgb */ color: rgb(39, 11, 45);
/* oklch */ color: oklch(21.4% 0.071 320.2);
Tailwind
colors: {
  custom: {
    50: '#624c66',
    500: '#270b2d',
    950: '#000000',
  },
}
SCSS
$custom: #270b2d;
$custom-light: #624c66;
$custom-dark: #000000;
JSON
{
  "hex": "#270b2d",
  "rgb": {
    "r": 39,
    "g": 11,
    "b": 45
  },
  "hsl": {
    "h": 289.412,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21389,
    "c": 0.07148,
    "h": 320.2
  },
  "luminance": 0.0086
}

Semantic roles & 50–950 ramp

primary
#270B2D
secondary
#36692A
accent
#E44460
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #270B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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