#270B35#270B35

#270B35 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.081 H 312.2°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#270B35
RGBrgb(39, 11, 53)
HSLhsl(280, 66%, 13%)
HSVhsv(280, 79%, 21%)
CMYKcmyk(26.4%, 79.2%, 0%, 79.2%)
CIE-LABlab(8.37, 23.05, -21.34)
CIE-LCHlch(8.37, 31.41, 317.21°)
OKLaboklab(22.02% 0.0546 -0.0602)
OKLCHoklch(22.02% 0.081 312.2)
XYZxyz(1.5989, 0.9278, 3.4623)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270B35 #19350B
analogous
#120B35 #270B35 #350B2E
triadic
#270B35 #35270B #0B3527
tetradic
#270B35 #35120B #19350B #0B2E35
square
#270B35 #35120B #19350B #0B2E35
split-complementary
#270B35 #2E350B #0B3512
monochromatic
#130519 #130519 #270B35 #4C1668 #72209A

Accessibility & contrast

On white

17.71
#270B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270B35
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270B35#FFFFFF#000000##FFFFFF
##270B351.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#071934
Tritanopia (blue-blind)
#25141E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #270b35;
/* rgb */ color: rgb(39, 11, 53);
/* oklch */ color: oklch(22.0% 0.081 312.2);
Tailwind
colors: {
  custom: {
    50: '#634c6c',
    500: '#270b35',
    950: '#000000',
  },
}
SCSS
$custom: #270b35;
$custom-light: #634c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#270b35",
  "rgb": {
    "r": 39,
    "g": 11,
    "b": 53
  },
  "hsl": {
    "h": 280,
    "s": 65.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22021,
    "c": 0.08128,
    "h": 312.2
  },
  "luminance": 0.00928
}

Semantic roles & 50–950 ramp

primary
#270B35
secondary
#42722A
accent
#E93F78
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #270B35

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

Preview Lab → · Contrast checker → · Palette generator →

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