#270F33#270F33

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

Color values

HEX#270F33
RGBrgb(39, 15, 51)
HSLhsl(280, 55%, 13%)
HSVhsv(280, 71%, 20%)
CMYKcmyk(23.5%, 70.6%, 0%, 80%)
CIE-LABlab(9.09, 20.13, -18.73)
CIE-LCHlch(9.09, 27.49, 317.06°)
OKLaboklab(22.49% 0.0487 -0.0526)
OKLCHoklch(22.49% 0.072 312.8)
XYZxyz(1.6050, 1.0120, 3.2421)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270F33 #1B330F
analogous
#150F33 #270F33 #330F2D
triadic
#270F33 #33270F #0F3327
tetradic
#270F33 #33150F #1B330F #0F2D33
square
#270F33 #33150F #1B330F #0F2D33
split-complementary
#270F33 #2D330F #0F3315
monochromatic
#120718 #120718 #270F33 #4B1D62 #6F2B92

Accessibility & contrast

On white

17.47
#270F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270F33
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270F33#FFFFFF#000000##FFFFFF
##270F331.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041834
Deuteranopia (green-blind)
#0D1A32
Tritanopia (blue-blind)
#26151F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #270f33;
/* rgb */ color: rgb(39, 15, 51);
/* oklch */ color: oklch(22.5% 0.072 312.8);
Tailwind
colors: {
  custom: {
    50: '#624f6b',
    500: '#270f33',
    950: '#000000',
  },
}
SCSS
$custom: #270f33;
$custom-light: #624f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#270f33",
  "rgb": {
    "r": 39,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 280,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2249,
    "c": 0.07167,
    "h": 312.8
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#270F33
secondary
#456D31
accent
#DE4A7B
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #270F33

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

Preview Lab → · Contrast checker → · Palette generator →

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