#270933#270933

#270933 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.082 H 314.6°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#270933
RGBrgb(39, 9, 51)
HSLhsl(283, 70%, 12%)
HSVhsv(283, 82%, 20%)
CMYKcmyk(23.5%, 82.4%, 0%, 80%)
CIE-LABlab(7.82, 23.62, -20.76)
CIE-LCHlch(7.82, 31.45, 318.68°)
OKLaboklab(21.57% 0.0576 -0.0585)
OKLCHoklch(21.57% 0.082 314.6)
XYZxyz(1.5318, 0.8658, 3.2177)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270933 #153309
analogous
#120933 #270933 #33092A
triadic
#270933 #332709 #093327
tetradic
#270933 #331209 #153309 #092A33
square
#270933 #331209 #153309 #092A33
split-complementary
#270933 #2A3309 #093312
monochromatic
#14051A #14051A #270933 #4F1267 #771B9B

Accessibility & contrast

On white

17.90
#270933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#270933 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270933
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270933#FFFFFF#000000##FFFFFF
##2709331.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#071832
Tritanopia (blue-blind)
#26121D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #270933;
/* rgb */ color: rgb(39, 9, 51);
/* oklch */ color: oklch(21.6% 0.082 314.6);
Tailwind
colors: {
  custom: {
    50: '#634b6b',
    500: '#270933',
    950: '#000000',
  },
}
SCSS
$custom: #270933;
$custom-light: #634b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#270933",
  "rgb": {
    "r": 39,
    "g": 9,
    "b": 51
  },
  "hsl": {
    "h": 282.857,
    "s": 70,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21572,
    "c": 0.08208,
    "h": 314.6
  },
  "luminance": 0.00866
}

Semantic roles & 50–950 ramp

primary
#270933
secondary
#3C7127
accent
#ED3B6E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #270933

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

Preview Lab → · Contrast checker → · Palette generator →

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