#270A2F#270A2F

#270A2F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.4% C 0.076 H 318.2°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#270A2F
RGBrgb(39, 10, 47)
HSLhsl(287, 65%, 11%)
HSVhsv(287, 79%, 18%)
CMYKcmyk(17%, 78.7%, 0%, 81.6%)
CIE-LABlab(7.71, 22.04, -17.99)
CIE-LCHlch(7.71, 28.45, 320.78°)
OKLaboklab(21.39% 0.0564 -0.0504)
OKLCHoklch(21.39% 0.076 318.2)
XYZxyz(1.4583, 0.8537, 2.7767)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270A2F #122F0A
analogous
#140A2F #270A2F #2F0A24
triadic
#270A2F #2F270A #0A2F27
tetradic
#270A2F #2F140A #122F0A #0A242F
square
#270A2F #2F140A #122F0A #0A242F
split-complementary
#270A2F #242F0A #0A2F14
monochromatic
#150519 #150519 #270A2F #511561 #7B1F94

Accessibility & contrast

On white

17.94
#270A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270A2F
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270A2F#FFFFFF#000000##FFFFFF
##270A2F1.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021530
Deuteranopia (green-blind)
#0C182E
Tritanopia (blue-blind)
#27111B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #270a2f;
/* rgb */ color: rgb(39, 10, 47);
/* oklch */ color: oklch(21.4% 0.076 318.2);
Tailwind
colors: {
  custom: {
    50: '#634b68',
    500: '#270a2f',
    950: '#000000',
  },
}
SCSS
$custom: #270a2f;
$custom-light: #634b68;
$custom-dark: #000000;
JSON
{
  "hex": "#270a2f",
  "rgb": {
    "r": 39,
    "g": 10,
    "b": 47
  },
  "hsl": {
    "h": 287.027,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21392,
    "c": 0.07564,
    "h": 318.2
  },
  "luminance": 0.00854
}

Semantic roles & 50–950 ramp

primary
#270A2F
secondary
#376C29
accent
#E84064
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #270A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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