#270229#270229

#270229 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.7% C 0.085 H 326.0°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#270229
RGBrgb(39, 2, 41)
HSLhsl(297, 91%, 8%)
HSVhsv(297, 95%, 16%)
CMYKcmyk(4.9%, 95.1%, 0%, 83.9%)
CIE-LABlab(5.74, 24.61, -16.61)
CIE-LCHlch(5.74, 29.69, 325.97°)
OKLaboklab(19.66% 0.0705 -0.0475)
OKLCHoklch(19.66% 0.085 326)
XYZxyz(1.2586, 0.6349, 2.1537)
Luminance0.0063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270229 #042902
analogous
#130229 #270229 #290217
triadic
#270229 #292702 #022927
tetradic
#270229 #291302 #042902 #021729
square
#270229 #291302 #042902 #021729
split-complementary
#270229 #172902 #022913
monochromatic
#1C011D #1C011D #270229 #5F0563 #96089E

Accessibility & contrast

On white

18.63
#270229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#270229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270229
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270229#FFFFFF#000000##FFFFFF
##2702291.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102A
Deuteranopia (green-blind)
#0A1428
Tritanopia (blue-blind)
#280715
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #270229;
/* rgb */ color: rgb(39, 2, 41);
/* oklch */ color: oklch(19.7% 0.085 326.0);
Tailwind
colors: {
  custom: {
    50: '#634763',
    500: '#270229',
    950: '#000000',
  },
}
SCSS
$custom: #270229;
$custom-light: #634763;
$custom-dark: #000000;
JSON
{
  "hex": "#270229",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 41
  },
  "hsl": {
    "h": 296.923,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19655,
    "c": 0.08498,
    "h": 326
  },
  "luminance": 0.00635
}

Semantic roles & 50–950 ramp

primary
#270229
secondary
#1D6E19
accent
#FF2934
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#050005
muted
#7A7779

Preview Lab

Preview with #270229

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

Preview Lab → · Contrast checker → · Palette generator →

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