#270A2A#270A2A

#270A2A is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.0% C 0.070 H 323.8°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#270A2A
RGBrgb(39, 10, 42)
HSLhsl(294, 62%, 10%)
HSVhsv(294, 76%, 16%)
CMYKcmyk(7.1%, 76.2%, 0%, 83.5%)
CIE-LABlab(7.37, 20.75, -14.80)
CIE-LCHlch(7.37, 25.49, 324.50°)
OKLaboklab(21.02% 0.0563 -0.0412)
OKLCHoklch(21.02% 0.07 323.8)
XYZxyz(1.3631, 0.8157, 2.2757)
Luminance0.0082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270A2A #0D2A0A
analogous
#170A2A #270A2A #2A0A1D
triadic
#270A2A #2A270A #0A2A27
tetradic
#270A2A #2A170A #0D2A0A #0A1D2A
square
#270A2A #2A170A #0D2A0A #0A1D2A
split-complementary
#270A2A #1D2A0A #0A2A17
monochromatic
#170619 #170619 #270A2A #55165B #83228D

Accessibility & contrast

On white

18.05
#270A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#270A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270A2A
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270A2A#FFFFFF#000000##FFFFFF
##270A2A1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05142B
Deuteranopia (green-blind)
#0F1729
Tritanopia (blue-blind)
#280F18
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #270a2a;
/* rgb */ color: rgb(39, 10, 42);
/* oklch */ color: oklch(21.0% 0.070 323.8);
Tailwind
colors: {
  custom: {
    50: '#624b63',
    500: '#270a2a',
    950: '#000000',
  },
}
SCSS
$custom: #270a2a;
$custom-light: #624b63;
$custom-dark: #000000;
JSON
{
  "hex": "#270a2a",
  "rgb": {
    "r": 39,
    "g": 10,
    "b": 42
  },
  "hsl": {
    "h": 294.375,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21018,
    "c": 0.06977,
    "h": 323.8
  },
  "luminance": 0.00816
}

Semantic roles & 50–950 ramp

primary
#270A2A
secondary
#2F6729
accent
#E54352
background
#F5F4F5
surface
#EAE7EA
border
#C6C3C6
text
#050105
muted
#797779

Preview Lab

Preview with #270A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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