#270832#270832

#270832 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.083 H 315.7°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#270832
RGBrgb(39, 8, 50)
HSLhsl(284, 72%, 11%)
HSVhsv(284, 84%, 20%)
CMYKcmyk(22%, 84%, 0%, 80.4%)
CIE-LABlab(7.55, 23.91, -20.47)
CIE-LCHlch(7.55, 31.47, 319.43°)
OKLaboklab(21.34% 0.0592 -0.0576)
OKLCHoklch(21.34% 0.083 315.7)
XYZxyz(1.4992, 0.8353, 3.0993)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270832 #133208
analogous
#120832 #270832 #320828
triadic
#270832 #322708 #083227
tetradic
#270832 #321208 #133208 #082832
square
#270832 #321208 #133208 #082832
split-complementary
#270832 #283208 #083212
monochromatic
#15041A #15041A #270832 #501067 #79199C

Accessibility & contrast

On white

17.99
#270832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#270832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270832
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270832#FFFFFF#000000##FFFFFF
##2708321.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#071731
Tritanopia (blue-blind)
#26101C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #270832;
/* rgb */ color: rgb(39, 8, 50);
/* oklch */ color: oklch(21.3% 0.083 315.7);
Tailwind
colors: {
  custom: {
    50: '#634a6a',
    500: '#270832',
    950: '#000000',
  },
}
SCSS
$custom: #270832;
$custom-light: #634a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#270832",
  "rgb": {
    "r": 39,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 284.286,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21344,
    "c": 0.0826,
    "h": 315.7
  },
  "luminance": 0.00835
}

Semantic roles & 50–950 ramp

primary
#270832
secondary
#397125
accent
#EF3968
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #270832

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

Preview Lab → · Contrast checker → · Palette generator →

#270832 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva