#270436#270436

#270436 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.094 H 313.2°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#270436
RGBrgb(39, 4, 54)
HSLhsl(282, 86%, 11%)
HSVhsv(282, 93%, 21%)
CMYKcmyk(27.8%, 92.6%, 0%, 78.8%)
CIE-LABlab(7.09, 27.17, -24.14)
CIE-LCHlch(7.09, 36.35, 318.37°)
OKLaboklab(21.11% 0.0643 -0.0685)
OKLCHoklch(21.11% 0.094 313.2)
XYZxyz(1.5459, 0.7846, 3.5593)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270436 #133604
analogous
#0E0436 #270436 #36042C
triadic
#270436 #362704 #043627
tetradic
#270436 #360E04 #133604 #042C36
square
#270436 #360E04 #133604 #042C36
split-complementary
#270436 #2C3604 #04360E
monochromatic
#15021C #15021C #270436 #50086F #790CA8

Accessibility & contrast

On white

18.15
#270436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#270436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270436
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270436#FFFFFF#000000##FFFFFF
##2704361.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001437
Deuteranopia (green-blind)
#001635
Tritanopia (blue-blind)
#25101D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #270436;
/* rgb */ color: rgb(39, 4, 54);
/* oklch */ color: oklch(21.1% 0.094 313.2);
Tailwind
colors: {
  custom: {
    50: '#64486d',
    500: '#270436',
    950: '#000000',
  },
}
SCSS
$custom: #270436;
$custom-light: #64486d;
$custom-dark: #000000;
JSON
{
  "hex": "#270436",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 282,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2111,
    "c": 0.094,
    "h": 313.2
  },
  "luminance": 0.00785
}

Semantic roles & 50–950 ramp

primary
#270436
secondary
#39781E
accent
#FC2B6A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #270436

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

Preview Lab → · Contrast checker → · Palette generator →

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