#270230#270230

#270230 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.3% C 0.092 H 319.0°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#270230
RGBrgb(39, 2, 48)
HSLhsl(288, 92%, 10%)
HSVhsv(288, 96%, 19%)
CMYKcmyk(18.7%, 95.8%, 0%, 81.2%)
CIE-LABlab(6.22, 26.56, -21.11)
CIE-LCHlch(6.22, 33.93, 321.52°)
OKLaboklab(20.25% 0.0692 -0.0602)
OKLCHoklch(20.25% 0.092 319)
XYZxyz(1.3918, 0.6882, 2.8553)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270230 #0B3002
analogous
#100230 #270230 #300222
triadic
#270230 #302702 #023027
tetradic
#270230 #301002 #0B3002 #022230
square
#270230 #301002 #0B3002 #022230
split-complementary
#270230 #223002 #023010
monochromatic
#18011D #18011D #270230 #57046B #8607A6

Accessibility & contrast

On white

18.46
#270230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270230
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270230#FFFFFF#000000##FFFFFF
##2702301.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001131
Deuteranopia (green-blind)
#04152F
Tritanopia (blue-blind)
#270B19
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #270230;
/* rgb */ color: rgb(39, 2, 48);
/* oklch */ color: oklch(20.3% 0.092 319.0);
Tailwind
colors: {
  custom: {
    50: '#634768',
    500: '#270230',
    950: '#000000',
  },
}
SCSS
$custom: #270230;
$custom-light: #634768;
$custom-dark: #000000;
JSON
{
  "hex": "#270230",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 288.261,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20251,
    "c": 0.09169,
    "h": 319
  },
  "luminance": 0.00688
}

Semantic roles & 50–950 ramp

primary
#270230
secondary
#2B7519
accent
#FF2953
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #270230

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

Preview Lab → · Contrast checker → · Palette generator →

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