#270A35#270A35

#270A35 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.083 H 312.5°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#270A35
RGBrgb(39, 10, 53)
HSLhsl(280, 68%, 12%)
HSVhsv(280, 81%, 21%)
CMYKcmyk(26.4%, 81.1%, 0%, 79.2%)
CIE-LABlab(8.18, 23.60, -21.65)
CIE-LCHlch(8.18, 32.03, 317.46°)
OKLaboklab(21.88% 0.056 -0.0611)
OKLCHoklch(21.88% 0.083 312.5)
XYZxyz(1.5877, 0.9055, 3.4586)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270A35 #18350A
analogous
#110A35 #270A35 #350A2E
triadic
#270A35 #35270A #0A3527
tetradic
#270A35 #35110A #18350A #0A2E35
square
#270A35 #35110A #18350A #0A2E35
split-complementary
#270A35 #2E350A #0A3511
monochromatic
#13051A #13051A #270A35 #4D1468 #731D9C

Accessibility & contrast

On white

17.78
#270A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#270A35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270A35
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270A35#FFFFFF#000000##FFFFFF
##270A351.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#061834
Tritanopia (blue-blind)
#25131E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #270a35;
/* rgb */ color: rgb(39, 10, 53);
/* oklch */ color: oklch(21.9% 0.083 312.5);
Tailwind
colors: {
  custom: {
    50: '#634c6c',
    500: '#270a35',
    950: '#000000',
  },
}
SCSS
$custom: #270a35;
$custom-light: #634c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#270a35",
  "rgb": {
    "r": 39,
    "g": 10,
    "b": 53
  },
  "hsl": {
    "h": 280.465,
    "s": 68.254,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2188,
    "c": 0.08287,
    "h": 312.5
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#270A35
secondary
#417228
accent
#EB3D75
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #270A35

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

Preview Lab → · Contrast checker → · Palette generator →

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