#270026#270026

#270026 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.1% C 0.087 H 329.5°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#270026
RGBrgb(39, 0, 38)
HSLhsl(302, 100%, 8%)
HSVhsv(302, 100%, 15%)
CMYKcmyk(0%, 100%, 2.6%, 84.7%)
CIE-LABlab(5.16, 24.77, -15.22)
CIE-LCHlch(5.16, 29.08, 328.44°)
OKLaboklab(19.06% 0.075 -0.0443)
OKLCHoklch(19.06% 0.087 329.5)
XYZxyz(1.1865, 0.5714, 1.8811)
Luminance0.0057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270026 #002701
analogous
#140027 #270026 #270013
triadic
#270026 #262700 #002627
tetradic
#270026 #271400 #002701 #001327
square
#270026 #271400 #002701 #001327
split-complementary
#270026 #132700 #002714
monochromatic
#1F001E #1F001E #270026 #640062 #A1009D

Accessibility & contrast

On white

18.85
#270026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#270026 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270026
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270026#FFFFFF#000000##FFFFFF
##2700261.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E27
Deuteranopia (green-blind)
#0A1325
Tritanopia (blue-blind)
#290412
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #270026;
/* rgb */ color: rgb(39, 0, 38);
/* oklch */ color: oklch(19.1% 0.087 329.5);
Tailwind
colors: {
  custom: {
    50: '#634660',
    500: '#270026',
    950: '#000000',
  },
}
SCSS
$custom: #270026;
$custom-light: #634660;
$custom-dark: #000000;
JSON
{
  "hex": "#270026",
  "rgb": {
    "r": 39,
    "g": 0,
    "b": 38
  },
  "hsl": {
    "h": 301.538,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.19057,
    "c": 0.08711,
    "h": 329.5
  },
  "luminance": 0.00571
}

Semantic roles & 50–950 ramp

primary
#270026
secondary
#146F16
accent
#FF2E29
background
#F6F3F5
surface
#EBE5E9
border
#C6C1C5
text
#050005
muted
#7A7679

Preview Lab

Preview with #270026

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

Preview Lab → · Contrast checker → · Palette generator →

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