#270736#270736

#270736 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.5% C 0.089 H 312.4°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#270736
RGBrgb(39, 7, 54)
HSLhsl(281, 77%, 12%)
HSVhsv(281, 87%, 21%)
CMYKcmyk(27.8%, 87%, 0%, 78.8%)
CIE-LABlab(7.68, 25.52, -23.19)
CIE-LCHlch(7.68, 34.48, 317.73°)
OKLaboklab(21.55% 0.06 -0.0656)
OKLCHoklch(21.55% 0.089 312.4)
XYZxyz(1.5784, 0.8497, 3.5702)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270736 #163607
analogous
#100736 #270736 #36072E
triadic
#270736 #362707 #073627
tetradic
#270736 #361007 #163607 #072E36
square
#270736 #361007 #163607 #072E36
split-complementary
#270736 #2E3607 #073610
monochromatic
#14041B #14041B #270736 #4E0E6C #7515A2

Accessibility & contrast

On white

17.95
#270736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270736
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270736#FFFFFF#000000##FFFFFF
##2707361.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#031835
Tritanopia (blue-blind)
#25121E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #270736;
/* rgb */ color: rgb(39, 7, 54);
/* oklch */ color: oklch(21.5% 0.089 312.4);
Tailwind
colors: {
  custom: {
    50: '#634a6d',
    500: '#270736',
    950: '#000000',
  },
}
SCSS
$custom: #270736;
$custom-light: #634a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#270736",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 54
  },
  "hsl": {
    "h": 280.851,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21546,
    "c": 0.08889,
    "h": 312.4
  },
  "luminance": 0.0085
}

Semantic roles & 50–950 ramp

primary
#270736
secondary
#3D7623
accent
#F43471
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #270736

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

Preview Lab → · Contrast checker → · Palette generator →

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