#270A2D#270A2D

#270A2D is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.073 H 320.4°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#270A2D
RGBrgb(39, 10, 45)
HSLhsl(290, 64%, 11%)
HSVhsv(290, 78%, 18%)
CMYKcmyk(13.3%, 77.8%, 0%, 82.4%)
CIE-LABlab(7.57, 21.52, -16.73)
CIE-LCHlch(7.57, 27.26, 322.14°)
OKLaboklab(21.24% 0.0564 -0.0467)
OKLCHoklch(21.24% 0.073 320.4)
XYZxyz(1.4188, 0.8379, 2.5691)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270A2D #102D0A
analogous
#150A2D #270A2D #2D0A21
triadic
#270A2D #2D270A #0A2D27
tetradic
#270A2D #2D150A #102D0A #0A212D
square
#270A2D #2D150A #102D0A #0A212D
split-complementary
#270A2D #212D0A #0A2D15
monochromatic
#160619 #160619 #270A2D #52155F #7E2091

Accessibility & contrast

On white

17.99
#270A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#270A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270A2D
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270A2D#FFFFFF#000000##FFFFFF
##270A2D1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152E
Deuteranopia (green-blind)
#0D182C
Tritanopia (blue-blind)
#27101A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #270a2d;
/* rgb */ color: rgb(39, 10, 45);
/* oklch */ color: oklch(21.2% 0.073 320.4);
Tailwind
colors: {
  custom: {
    50: '#634b66',
    500: '#270a2d',
    950: '#000000',
  },
}
SCSS
$custom: #270a2d;
$custom-light: #634b66;
$custom-dark: #000000;
JSON
{
  "hex": "#270a2d",
  "rgb": {
    "r": 39,
    "g": 10,
    "b": 45
  },
  "hsl": {
    "h": 289.714,
    "s": 63.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21239,
    "c": 0.07327,
    "h": 320.4
  },
  "luminance": 0.00838
}

Semantic roles & 50–950 ramp

primary
#270A2D
secondary
#346A29
accent
#E7415E
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #270A2D

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

Preview Lab → · Contrast checker → · Palette generator →

#270A2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva