#270530#270530

#270530 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.7% C 0.086 H 318.3°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#270530
RGBrgb(39, 5, 48)
HSLhsl(287, 81%, 10%)
HSVhsv(287, 90%, 19%)
CMYKcmyk(18.7%, 89.6%, 0%, 81.2%)
CIE-LABlab(6.80, 24.98, -20.18)
CIE-LCHlch(6.80, 32.11, 321.07°)
OKLaboklab(20.73% 0.0641 -0.057)
OKLCHoklch(20.73% 0.086 318.3)
XYZxyz(1.4244, 0.7533, 2.8661)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270530 #0E3005
analogous
#110530 #270530 #300523
triadic
#270530 #302705 #053027
tetradic
#270530 #301105 #0E3005 #052330
square
#270530 #301105 #0E3005 #052330
split-complementary
#270530 #233005 #053011
monochromatic
#17031C #17031C #270530 #540B67 #81119F

Accessibility & contrast

On white

18.25
#270530 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270530
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270530#FFFFFF#000000##FFFFFF
##2705301.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#07162F
Tritanopia (blue-blind)
#270D1A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #270530;
/* rgb */ color: rgb(39, 5, 48);
/* oklch */ color: oklch(20.7% 0.086 318.3);
Tailwind
colors: {
  custom: {
    50: '#634968',
    500: '#270530',
    950: '#000000',
  },
}
SCSS
$custom: #270530;
$custom-light: #634968;
$custom-dark: #000000;
JSON
{
  "hex": "#270530",
  "rgb": {
    "r": 39,
    "g": 5,
    "b": 48
  },
  "hsl": {
    "h": 287.442,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20726,
    "c": 0.08578,
    "h": 318.3
  },
  "luminance": 0.00753
}

Semantic roles & 50–950 ramp

primary
#270530
secondary
#30721F
accent
#F8305A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #270530

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

Preview Lab → · Contrast checker → · Palette generator →

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