#270D33#270D33

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

Color values

HEX#270D33
RGBrgb(39, 13, 51)
HSLhsl(281, 59%, 13%)
HSVhsv(281, 75%, 20%)
CMYKcmyk(23.5%, 74.5%, 0%, 80%)
CIE-LABlab(8.64, 21.36, -19.45)
CIE-LCHlch(8.64, 28.89, 317.67°)
OKLaboklab(22.16% 0.0519 -0.0547)
OKLCHoklch(22.16% 0.075 313.5)
XYZxyz(1.5781, 0.9582, 3.2332)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270D33 #19330D
analogous
#140D33 #270D33 #330D2C
triadic
#270D33 #33270D #0D3327
tetradic
#270D33 #33140D #19330D #0D2C33
square
#270D33 #33140D #19330D #0D2C33
split-complementary
#270D33 #2C330D #0D3314
monochromatic
#130618 #130618 #270D33 #4C1964 #722695

Accessibility & contrast

On white

17.62
#270D33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270D33
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270D33#FFFFFF#000000##FFFFFF
##270D331.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #270d33;
/* rgb */ color: rgb(39, 13, 51);
/* oklch */ color: oklch(22.2% 0.075 313.5);
Tailwind
colors: {
  custom: {
    50: '#634d6b',
    500: '#270d33',
    950: '#000000',
  },
}
SCSS
$custom: #270d33;
$custom-light: #634d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#270d33",
  "rgb": {
    "r": 39,
    "g": 13,
    "b": 51
  },
  "hsl": {
    "h": 281.053,
    "s": 59.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22161,
    "c": 0.07534,
    "h": 313.5
  },
  "luminance": 0.00958
}

Semantic roles & 50–950 ramp

primary
#270D33
secondary
#426E2E
accent
#E34577
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #270D33

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

Preview Lab → · Contrast checker → · Palette generator →

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