#270E32#270E32

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

Color values

HEX#270E32
RGBrgb(39, 14, 50)
HSLhsl(282, 56%, 13%)
HSVhsv(282, 72%, 20%)
CMYKcmyk(22%, 72%, 0%, 80.4%)
CIE-LABlab(8.79, 20.48, -18.48)
CIE-LCHlch(8.79, 27.59, 317.93°)
OKLaboklab(22.25% 0.0503 -0.0518)
OKLCHoklch(22.25% 0.072 314.1)
XYZxyz(1.5694, 0.9757, 3.1227)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E32 #19320E
analogous
#150E32 #270E32 #320E2B
triadic
#270E32 #32270E #0E3227
tetradic
#270E32 #32150E #19320E #0E2B32
square
#270E32 #32150E #19320E #0E2B32
split-complementary
#270E32 #2B320E #0E3215
monochromatic
#130718 #130718 #270E32 #4C1B62 #722992

Accessibility & contrast

On white

17.57
#270E32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#270E32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270E32
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E32#FFFFFF#000000##FFFFFF
##270E321.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #270e32;
/* rgb */ color: rgb(39, 14, 50);
/* oklch */ color: oklch(22.2% 0.072 314.1);
Tailwind
colors: {
  custom: {
    50: '#624e6a',
    500: '#270e32',
    950: '#000000',
  },
}
SCSS
$custom: #270e32;
$custom-light: #624e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#270e32",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 50
  },
  "hsl": {
    "h": 281.667,
    "s": 56.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22245,
    "c": 0.07223,
    "h": 314.1
  },
  "luminance": 0.00976
}

Semantic roles & 50–950 ramp

primary
#270E32
secondary
#426D2F
accent
#E04876
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #270E32

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

Preview Lab → · Contrast checker → · Palette generator →

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