#270722#270722

#270722 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.067 H 334.5°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#270722
RGBrgb(39, 7, 34)
HSLhsl(309, 70%, 9%)
HSVhsv(309, 82%, 15%)
CMYKcmyk(0%, 82.1%, 12.8%, 84.7%)
CIE-LABlab(6.31, 20.29, -10.36)
CIE-LCHlch(6.31, 22.79, 332.96°)
OKLaboklab(20% 0.0606 -0.0289)
OKLCHoklch(20% 0.067 334.5)
XYZxyz(1.2014, 0.6989, 1.5847)
Luminance0.0070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270722 #07270C
analogous
#1C0727 #270722 #270712
triadic
#270722 #222707 #072227
tetradic
#270722 #271C07 #07270C #071227
square
#270722 #271C07 #07270C #071227
split-complementary
#270722 #122707 #07271C
monochromatic
#1A0517 #1A0517 #270722 #5B104F #8F1A7C

Accessibility & contrast

On white

18.42
#270722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270722
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270722#FFFFFF#000000##FFFFFF
##2707221.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071123
Deuteranopia (green-blind)
#111621
Tritanopia (blue-blind)
#290913
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #270722;
/* rgb */ color: rgb(39, 7, 34);
/* oklch */ color: oklch(20.0% 0.067 334.5);
Tailwind
colors: {
  custom: {
    50: '#62495d',
    500: '#270722',
    950: '#000000',
  },
}
SCSS
$custom: #270722;
$custom-light: #62495d;
$custom-dark: #000000;
JSON
{
  "hex": "#270722",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 34
  },
  "hsl": {
    "h": 309.375,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19998,
    "c": 0.06714,
    "h": 334.5
  },
  "luminance": 0.00699
}

Semantic roles & 50–950 ramp

primary
#270722
secondary
#23662E
accent
#EC573B
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050104
muted
#797779

Preview Lab

Preview with #270722

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

Preview Lab → · Contrast checker → · Palette generator →

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