#270935#270935

#270935 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.084 H 312.8°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#270935
RGBrgb(39, 9, 53)
HSLhsl(281, 71%, 12%)
HSVhsv(281, 83%, 21%)
CMYKcmyk(26.4%, 83%, 0%, 79.2%)
CIE-LABlab(7.98, 24.15, -21.97)
CIE-LCHlch(7.98, 32.64, 317.71°)
OKLaboklab(21.74% 0.0574 -0.062)
OKLCHoklch(21.74% 0.084 312.8)
XYZxyz(1.5769, 0.8838, 3.4550)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270935 #173509
analogous
#110935 #270935 #35092D
triadic
#270935 #352709 #093527
tetradic
#270935 #351109 #173509 #092D35
square
#270935 #351109 #173509 #092D35
split-complementary
#270935 #2D3509 #093511
monochromatic
#13041A #13041A #270935 #4D1269 #741B9E

Accessibility & contrast

On white

17.85
#270935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#270935 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270935
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270935#FFFFFF#000000##FFFFFF
##2709351.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #270935;
/* rgb */ color: rgb(39, 9, 53);
/* oklch */ color: oklch(21.7% 0.084 312.8);
Tailwind
colors: {
  custom: {
    50: '#634b6c',
    500: '#270935',
    950: '#000000',
  },
}
SCSS
$custom: #270935;
$custom-light: #634b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#270935",
  "rgb": {
    "r": 39,
    "g": 9,
    "b": 53
  },
  "hsl": {
    "h": 280.909,
    "s": 70.968,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21741,
    "c": 0.08446,
    "h": 312.8
  },
  "luminance": 0.00884
}

Semantic roles & 50–950 ramp

primary
#270935
secondary
#3F7327
accent
#EE3A73
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #270935

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

Preview Lab → · Contrast checker → · Palette generator →

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