#270432#270432

#270432 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.7% C 0.090 H 316.7°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#270432
RGBrgb(39, 4, 50)
HSLhsl(286, 85%, 11%)
HSVhsv(286, 92%, 20%)
CMYKcmyk(22%, 92%, 0%, 80.4%)
CIE-LABlab(6.76, 26.06, -21.73)
CIE-LCHlch(6.76, 33.93, 320.19°)
OKLaboklab(20.75% 0.0653 -0.0616)
OKLCHoklch(20.75% 0.09 316.7)
XYZxyz(1.4558, 0.7485, 3.0848)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270432 #0F3204
analogous
#100432 #270432 #320426
triadic
#270432 #322704 #043227
tetradic
#270432 #321004 #0F3204 #042632
square
#270432 #321004 #0F3204 #042632
split-complementary
#270432 #263204 #043210
monochromatic
#16021C #16021C #270432 #53096B #7F0DA3

Accessibility & contrast

On white

18.27
#270432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#270432 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270432
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270432#FFFFFF#000000##FFFFFF
##2704321.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001333
Deuteranopia (green-blind)
#041631
Tritanopia (blue-blind)
#260E1A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #270432;
/* rgb */ color: rgb(39, 4, 50);
/* oklch */ color: oklch(20.7% 0.090 316.7);
Tailwind
colors: {
  custom: {
    50: '#63486a',
    500: '#270432',
    950: '#000000',
  },
}
SCSS
$custom: #270432;
$custom-light: #63486a;
$custom-dark: #000000;
JSON
{
  "hex": "#270432",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 50
  },
  "hsl": {
    "h": 285.652,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20745,
    "c": 0.08979,
    "h": 316.7
  },
  "luminance": 0.00748
}

Semantic roles & 50–950 ramp

primary
#270432
secondary
#32741D
accent
#FB2C5E
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #270432

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

Preview Lab → · Contrast checker → · Palette generator →

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