#270A33#270A33

#270A33 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.080 H 314.3°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#270A33
RGBrgb(39, 10, 51)
HSLhsl(282, 67%, 12%)
HSVhsv(282, 80%, 20%)
CMYKcmyk(23.5%, 80.4%, 0%, 80%)
CIE-LABlab(8.02, 23.07, -20.45)
CIE-LCHlch(8.02, 30.83, 318.45°)
OKLaboklab(21.71% 0.0562 -0.0576)
OKLCHoklch(21.71% 0.08 314.3)
XYZxyz(1.5427, 0.8875, 3.2214)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270A33 #16330A
analogous
#130A33 #270A33 #330A2B
triadic
#270A33 #33270A #0A3327
tetradic
#270A33 #33130A #16330A #0A2B33
square
#270A33 #33130A #16330A #0A2B33
split-complementary
#270A33 #2B330A #0A3313
monochromatic
#14051A #14051A #270A33 #4E1466 #751E99

Accessibility & contrast

On white

17.84
#270A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270A33
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270A33#FFFFFF#000000##FFFFFF
##270A331.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#081832
Tritanopia (blue-blind)
#26121D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #270a33;
/* rgb */ color: rgb(39, 10, 51);
/* oklch */ color: oklch(21.7% 0.080 314.3);
Tailwind
colors: {
  custom: {
    50: '#634c6b',
    500: '#270a33',
    950: '#000000',
  },
}
SCSS
$custom: #270a33;
$custom-light: #634c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#270a33",
  "rgb": {
    "r": 39,
    "g": 10,
    "b": 51
  },
  "hsl": {
    "h": 282.439,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21713,
    "c": 0.08045,
    "h": 314.3
  },
  "luminance": 0.00887
}

Semantic roles & 50–950 ramp

primary
#270A33
secondary
#3D7028
accent
#EA3E70
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #270A33

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

Preview Lab → · Contrast checker → · Palette generator →

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