#270535#270535

#270535 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.091 H 313.8°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#270535
RGBrgb(39, 5, 53)
HSLhsl(283, 83%, 11%)
HSVhsv(283, 91%, 21%)
CMYKcmyk(26.4%, 90.6%, 0%, 79.2%)
CIE-LABlab(7.20, 26.35, -23.23)
CIE-LCHlch(7.20, 35.13, 318.60°)
OKLaboklab(21.17% 0.0631 -0.0658)
OKLCHoklch(21.17% 0.091 313.8)
XYZxyz(1.5335, 0.7970, 3.4405)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270535 #133505
analogous
#0F0535 #270535 #35052B
triadic
#270535 #352705 #053527
tetradic
#270535 #350F05 #133505 #052B35
square
#270535 #350F05 #133505 #052B35
split-complementary
#270535 #2B3505 #05350F
monochromatic
#15031C #15031C #270535 #500A6D #7910A5

Accessibility & contrast

On white

18.11
#270535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#270535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270535
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270535#FFFFFF#000000##FFFFFF
##2705351.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001436
Deuteranopia (green-blind)
#021734
Tritanopia (blue-blind)
#26101D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #270535;
/* rgb */ color: rgb(39, 5, 53);
/* oklch */ color: oklch(21.2% 0.091 313.8);
Tailwind
colors: {
  custom: {
    50: '#64496c',
    500: '#270535',
    950: '#000000',
  },
}
SCSS
$custom: #270535;
$custom-light: #64496c;
$custom-dark: #000000;
JSON
{
  "hex": "#270535",
  "rgb": {
    "r": 39,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 282.5,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21166,
    "c": 0.09117,
    "h": 313.8
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

primary
#270535
secondary
#397620
accent
#F92F6A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #270535

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

Preview Lab → · Contrast checker → · Palette generator →

#270535 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva