#270B2E#270B2E

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

Color values

HEX#270B2E
RGBrgb(39, 11, 46)
HSLhsl(288, 61%, 11%)
HSVhsv(288, 76%, 18%)
CMYKcmyk(15.2%, 76.1%, 0%, 82%)
CIE-LABlab(7.84, 21.23, -17.04)
CIE-LCHlch(7.84, 27.22, 321.25°)
OKLaboklab(21.46% 0.0549 -0.0476)
OKLCHoklch(21.46% 0.073 319.1)
XYZxyz(1.4495, 0.8680, 2.6754)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270B2E #122E0B
analogous
#150B2E #270B2E #2E0B23
triadic
#270B2E #2E270B #0B2E27
tetradic
#270B2E #2E150B #122E0B #0B232E
square
#270B2E #2E150B #122E0B #0B232E
split-complementary
#270B2E #232E0B #0B2E15
monochromatic
#150619 #150619 #270B2E #51175F #7B2391

Accessibility & contrast

On white

17.89
#270B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270B2E
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270B2E#FFFFFF#000000##FFFFFF
##270B2E1.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152F
Deuteranopia (green-blind)
#0D182D
Tritanopia (blue-blind)
#27111B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #270b2e;
/* rgb */ color: rgb(39, 11, 46);
/* oklch */ color: oklch(21.5% 0.073 319.1);
Tailwind
colors: {
  custom: {
    50: '#624c67',
    500: '#270b2e',
    950: '#000000',
  },
}
SCSS
$custom: #270b2e;
$custom-light: #624c67;
$custom-dark: #000000;
JSON
{
  "hex": "#270b2e",
  "rgb": {
    "r": 39,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 288,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21463,
    "c": 0.07268,
    "h": 319.1
  },
  "luminance": 0.00868
}

Semantic roles & 50–950 ramp

primary
#270B2E
secondary
#376A2A
accent
#E54364
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #270B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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