#270136#270136

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

Color values

HEX#270136
RGBrgb(39, 1, 54)
HSLhsl(283, 96%, 11%)
HSVhsv(283, 98%, 21%)
CMYKcmyk(27.8%, 98.1%, 0%, 78.8%)
CIE-LABlab(6.50, 28.81, -25.09)
CIE-LCHlch(6.50, 38.21, 318.94°)
OKLaboklab(20.65% 0.069 -0.0716)
OKLCHoklch(20.65% 0.099 313.9)
XYZxyz(1.5133, 0.7194, 3.5485)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270136 #103601
analogous
#0C0136 #270136 #36012A
triadic
#270136 #362701 #013627
tetradic
#270136 #360C01 #103601 #012A36
square
#270136 #360C01 #103601 #012A36
split-complementary
#270136 #2A3601 #01360C
monochromatic
#16011E #16011E #270136 #520272 #7E03AE

Accessibility & contrast

On white

18.36
#270136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270136
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270136#FFFFFF#000000##FFFFFF
##2701361.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001237
Deuteranopia (green-blind)
#001535
Tritanopia (blue-blind)
#250D1C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #270136;
/* rgb */ color: rgb(39, 1, 54);
/* oklch */ color: oklch(20.7% 0.099 313.9);
Tailwind
colors: {
  custom: {
    50: '#64476d',
    500: '#270136',
    950: '#000000',
  },
}
SCSS
$custom: #270136;
$custom-light: #64476d;
$custom-dark: #000000;
JSON
{
  "hex": "#270136",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 54
  },
  "hsl": {
    "h": 283.019,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20654,
    "c": 0.09948,
    "h": 313.9
  },
  "luminance": 0.00719
}

Semantic roles & 50–950 ramp

primary
#270136
secondary
#347B18
accent
#FF2965
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060007
muted
#7A777A

Preview Lab

Preview with #270136

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

Preview Lab → · Contrast checker → · Palette generator →

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