#270330#270330

#270330 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.4% C 0.090 H 318.8°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#270330
RGBrgb(39, 3, 48)
HSLhsl(288, 88%, 10%)
HSVhsv(288, 94%, 19%)
CMYKcmyk(18.7%, 93.8%, 0%, 81.2%)
CIE-LABlab(6.41, 26.04, -20.80)
CIE-LCHlch(6.41, 33.33, 321.38°)
OKLaboklab(20.41% 0.0674 -0.0591)
OKLCHoklch(20.41% 0.09 318.8)
XYZxyz(1.4027, 0.7099, 2.8589)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270330 #0C3003
analogous
#110330 #270330 #300322
triadic
#270330 #302703 #033027
tetradic
#270330 #301103 #0C3003 #032230
square
#270330 #301103 #0C3003 #032230
split-complementary
#270330 #223003 #033011
monochromatic
#17021D #17021D #270330 #56076A #850AA3

Accessibility & contrast

On white

18.39
#270330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#270330 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270330
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270330#FFFFFF#000000##FFFFFF
##2703301.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001231
Deuteranopia (green-blind)
#05152F
Tritanopia (blue-blind)
#270C19
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #270330;
/* rgb */ color: rgb(39, 3, 48);
/* oklch */ color: oklch(20.4% 0.090 318.8);
Tailwind
colors: {
  custom: {
    50: '#634868',
    500: '#270330',
    950: '#000000',
  },
}
SCSS
$custom: #270330;
$custom-light: #634868;
$custom-dark: #000000;
JSON
{
  "hex": "#270330",
  "rgb": {
    "r": 39,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 288,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.20412,
    "c": 0.08968,
    "h": 318.8
  },
  "luminance": 0.0071
}

Semantic roles & 50–950 ramp

primary
#270330
secondary
#2D731B
accent
#FE2954
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #270330

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

Preview Lab → · Contrast checker → · Palette generator →

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