#270239#270239

#270239 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.101 H 311.3°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#270239
RGBrgb(39, 2, 57)
HSLhsl(280, 93%, 12%)
HSVhsv(280, 96%, 22%)
CMYKcmyk(31.6%, 96.5%, 0%, 77.6%)
CIE-LABlab(6.96, 29.10, -26.54)
CIE-LCHlch(6.96, 39.39, 317.64°)
OKLaboklab(21.1% 0.0664 -0.0756)
OKLCHoklch(21.1% 0.101 311.3)
XYZxyz(1.5968, 0.7702, 3.9346)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270239 #143902
analogous
#0C0239 #270239 #390230
triadic
#270239 #392702 #023927
tetradic
#270239 #390C02 #143902 #023039
square
#270239 #390C02 #143902 #023039
split-complementary
#270239 #303902 #02390C
monochromatic
#14011E #14011E #270239 #4F0474 #7806AF

Accessibility & contrast

On white

18.20
#270239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#270239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270239
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270239#FFFFFF#000000##FFFFFF
##2702391.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001638
Tritanopia (blue-blind)
#25101E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #270239;
/* rgb */ color: rgb(39, 2, 57);
/* oklch */ color: oklch(21.1% 0.101 311.3);
Tailwind
colors: {
  custom: {
    50: '#644770',
    500: '#270239',
    950: '#000000',
  },
}
SCSS
$custom: #270239;
$custom-light: #644770;
$custom-dark: #000000;
JSON
{
  "hex": "#270239",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 280.364,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21101,
    "c": 0.10061,
    "h": 311.3
  },
  "luminance": 0.0077
}

Semantic roles & 50–950 ramp

primary
#270239
secondary
#3A7D1A
accent
#FF296F
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#060007
muted
#7A777A

Preview Lab

Preview with #270239

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

Preview Lab → · Contrast checker → · Palette generator →

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