#270131#270131

#270131 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.2% C 0.095 H 318.3°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#270131
RGBrgb(39, 1, 49)
HSLhsl(288, 96%, 10%)
HSVhsv(288, 98%, 19%)
CMYKcmyk(20.4%, 98%, 0%, 80.8%)
CIE-LABlab(6.10, 27.38, -22.05)
CIE-LCHlch(6.10, 35.15, 321.15°)
OKLaboklab(20.18% 0.0707 -0.063)
OKLCHoklch(20.18% 0.095 318.3)
XYZxyz(1.4019, 0.6749, 2.9616)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270131 #0B3101
analogous
#0F0131 #270131 #310123
triadic
#270131 #312701 #013127
tetradic
#270131 #310F01 #0B3101 #012331
square
#270131 #310F01 #0B3101 #012331
split-complementary
#270131 #233101 #01310F
monochromatic
#18011E #18011E #270131 #57026D #8603A9

Accessibility & contrast

On white

18.50
#270131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#270131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270131
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270131#FFFFFF#000000##FFFFFF
##2701311.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#021530
Tritanopia (blue-blind)
#270B19
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #270131;
/* rgb */ color: rgb(39, 1, 49);
/* oklch */ color: oklch(20.2% 0.095 318.3);
Tailwind
colors: {
  custom: {
    50: '#634669',
    500: '#270131',
    950: '#000000',
  },
}
SCSS
$custom: #270131;
$custom-light: #634669;
$custom-dark: #000000;
JSON
{
  "hex": "#270131",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 287.5,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20179,
    "c": 0.09471,
    "h": 318.3
  },
  "luminance": 0.00675
}

Semantic roles & 50–950 ramp

primary
#270131
secondary
#2B7717
accent
#FF2955
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #270131

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

Preview Lab → · Contrast checker → · Palette generator →

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