#270729#270729

#270729 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.5% C 0.074 H 325.4°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#270729
RGBrgb(39, 7, 41)
HSLhsl(296, 71%, 9%)
HSVhsv(296, 83%, 16%)
CMYKcmyk(4.9%, 82.9%, 0%, 83.9%)
CIE-LABlab(6.72, 22.05, -15.07)
CIE-LCHlch(6.72, 26.71, 325.65°)
OKLaboklab(20.48% 0.0612 -0.0422)
OKLCHoklch(20.48% 0.074 325.4)
XYZxyz(1.3129, 0.7435, 2.1717)
Luminance0.0074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270729 #092907
analogous
#160729 #270729 #29071A
triadic
#270729 #292707 #072927
tetradic
#270729 #291607 #092907 #071A29
square
#270729 #291607 #092907 #071A29
split-complementary
#270729 #1A2907 #072916
monochromatic
#19041A #19041A #270729 #59105D #8A1992

Accessibility & contrast

On white

18.28
#270729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#270729 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270729
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270729#FFFFFF#000000##FFFFFF
##2707291.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03122A
Deuteranopia (green-blind)
#0E1628
Tritanopia (blue-blind)
#280C17
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #270729;
/* rgb */ color: rgb(39, 7, 41);
/* oklch */ color: oklch(20.5% 0.074 325.4);
Tailwind
colors: {
  custom: {
    50: '#634a63',
    500: '#270729',
    950: '#000000',
  },
}
SCSS
$custom: #270729;
$custom-light: #634a63;
$custom-dark: #000000;
JSON
{
  "hex": "#270729",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 41
  },
  "hsl": {
    "h": 296.471,
    "s": 70.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20482,
    "c": 0.07435,
    "h": 325.4
  },
  "luminance": 0.00743
}

Semantic roles & 50–950 ramp

primary
#270729
secondary
#276923
accent
#EE3A45
background
#F5F4F5
surface
#EAE7EA
border
#C6C3C6
text
#050105
muted
#797779

Preview Lab

Preview with #270729

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

Preview Lab → · Contrast checker → · Palette generator →

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