#270D34#270D34

#270D34 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.2% C 0.077 H 312.6°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#270D34
RGBrgb(39, 13, 52)
HSLhsl(280, 60%, 13%)
HSVhsv(280, 75%, 20%)
CMYKcmyk(25%, 75%, 0%, 79.6%)
CIE-LABlab(8.72, 21.62, -20.06)
CIE-LCHlch(8.72, 29.49, 317.14°)
OKLaboklab(22.24% 0.0518 -0.0564)
OKLCHoklch(22.24% 0.077 312.6)
XYZxyz(1.6003, 0.9672, 3.3505)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270D34 #1A340D
analogous
#130D34 #270D34 #340D2D
triadic
#270D34 #34270D #0D3427
tetradic
#270D34 #34130D #1A340D #0D2D34
square
#270D34 #34130D #1A340D #0D2D34
split-complementary
#270D34 #2D340D #0D3413
monochromatic
#120618 #120618 #270D34 #4C1965 #702596

Accessibility & contrast

On white

17.60
#270D34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#270D34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270D34
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270D34#FFFFFF#000000##FFFFFF
##270D341.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011835
Deuteranopia (green-blind)
#0A1933
Tritanopia (blue-blind)
#26141E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #270d34;
/* rgb */ color: rgb(39, 13, 52);
/* oklch */ color: oklch(22.2% 0.077 312.6);
Tailwind
colors: {
  custom: {
    50: '#634d6c',
    500: '#270d34',
    950: '#000000',
  },
}
SCSS
$custom: #270d34;
$custom-light: #634d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#270d34",
  "rgb": {
    "r": 39,
    "g": 13,
    "b": 52
  },
  "hsl": {
    "h": 280,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22241,
    "c": 0.07663,
    "h": 312.6
  },
  "luminance": 0.00967
}

Semantic roles & 50–950 ramp

primary
#270D34
secondary
#436F2D
accent
#E34579
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #270D34

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

Preview Lab → · Contrast checker → · Palette generator →

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