#270B2F#270B2F

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

Color values

HEX#270B2F
RGBrgb(39, 11, 47)
HSLhsl(287, 62%, 11%)
HSVhsv(287, 77%, 18%)
CMYKcmyk(17%, 76.6%, 0%, 81.6%)
CIE-LABlab(7.91, 21.49, -17.67)
CIE-LCHlch(7.91, 27.82, 320.57°)
OKLaboklab(21.54% 0.0549 -0.0494)
OKLCHoklch(21.54% 0.074 318)
XYZxyz(1.4694, 0.8760, 2.7805)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270B2F #132F0B
analogous
#150B2F #270B2F #2F0B25
triadic
#270B2F #2F270B #0B2F27
tetradic
#270B2F #2F150B #132F0B #0B252F
square
#270B2F #2F150B #132F0B #0B252F
split-complementary
#270B2F #252F0B #0B2F15
monochromatic
#150619 #150619 #270B2F #501761 #792292

Accessibility & contrast

On white

17.87
#270B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270B2F
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270B2F#FFFFFF#000000##FFFFFF
##270B2F1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031630
Deuteranopia (green-blind)
#0D182E
Tritanopia (blue-blind)
#27111B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #270b2f;
/* rgb */ color: rgb(39, 11, 47);
/* oklch */ color: oklch(21.5% 0.074 318.0);
Tailwind
colors: {
  custom: {
    50: '#634c67',
    500: '#270b2f',
    950: '#000000',
  },
}
SCSS
$custom: #270b2f;
$custom-light: #634c67;
$custom-dark: #000000;
JSON
{
  "hex": "#270b2f",
  "rgb": {
    "r": 39,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 286.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2154,
    "c": 0.0739,
    "h": 318
  },
  "luminance": 0.00876
}

Semantic roles & 50–950 ramp

primary
#270B2F
secondary
#396B2A
accent
#E54367
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #270B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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