#270E33#270E33

#270E33 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.074 H 313.2°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#270E33
RGBrgb(39, 14, 51)
HSLhsl(281, 57%, 13%)
HSVhsv(281, 73%, 20%)
CMYKcmyk(23.5%, 72.5%, 0%, 80%)
CIE-LABlab(8.86, 20.75, -19.10)
CIE-LCHlch(8.86, 28.20, 317.37°)
OKLaboklab(22.32% 0.0503 -0.0536)
OKLCHoklch(22.32% 0.074 313.2)
XYZxyz(1.5912, 0.9845, 3.2375)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E33 #1A330E
analogous
#150E33 #270E33 #330E2C
triadic
#270E33 #33270E #0E3327
tetradic
#270E33 #33150E #1A330E #0E2C33
square
#270E33 #33150E #1A330E #0E2C33
split-complementary
#270E33 #2C330E #0E3315
monochromatic
#120718 #120718 #270E33 #4C1B63 #702893

Accessibility & contrast

On white

17.55
#270E33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270E33
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E33#FFFFFF#000000##FFFFFF
##270E331.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031834
Deuteranopia (green-blind)
#0C1A32
Tritanopia (blue-blind)
#26151E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #270e33;
/* rgb */ color: rgb(39, 14, 51);
/* oklch */ color: oklch(22.3% 0.074 313.2);
Tailwind
colors: {
  custom: {
    50: '#634e6b',
    500: '#270e33',
    950: '#000000',
  },
}
SCSS
$custom: #270e33;
$custom-light: #634e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#270e33",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 51
  },
  "hsl": {
    "h": 280.541,
    "s": 56.923,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22323,
    "c": 0.07353,
    "h": 313.2
  },
  "luminance": 0.00984
}

Semantic roles & 50–950 ramp

primary
#270E33
secondary
#436E2F
accent
#E04879
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #270E33

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

Preview Lab → · Contrast checker → · Palette generator →

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