#270630#270630

#270630 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.084 H 318.1°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#270630
RGBrgb(39, 6, 48)
HSLhsl(287, 78%, 11%)
HSVhsv(287, 88%, 19%)
CMYKcmyk(18.7%, 87.5%, 0%, 81.2%)
CIE-LABlab(7.00, 24.44, -19.86)
CIE-LCHlch(7.00, 31.49, 320.90°)
OKLaboklab(20.88% 0.0625 -0.056)
OKLCHoklch(20.88% 0.084 318.1)
XYZxyz(1.4353, 0.7751, 2.8697)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270630 #0F3006
analogous
#120630 #270630 #300624
triadic
#270630 #302706 #063027
tetradic
#270630 #301206 #0F3006 #062430
square
#270630 #301206 #0F3006 #062430
split-complementary
#270630 #243006 #063012
monochromatic
#16031B #16031B #270630 #530D66 #7F149D

Accessibility & contrast

On white

18.18
#270630 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#270630 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270630
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270630#FFFFFF#000000##FFFFFF
##2706301.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #270630;
/* rgb */ color: rgb(39, 6, 48);
/* oklch */ color: oklch(20.9% 0.084 318.1);
Tailwind
colors: {
  custom: {
    50: '#634968',
    500: '#270630',
    950: '#000000',
  },
}
SCSS
$custom: #270630;
$custom-light: #634968;
$custom-dark: #000000;
JSON
{
  "hex": "#270630",
  "rgb": {
    "r": 39,
    "g": 6,
    "b": 48
  },
  "hsl": {
    "h": 287.143,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20879,
    "c": 0.08391,
    "h": 318.1
  },
  "luminance": 0.00775
}

Semantic roles & 50–950 ramp

primary
#270630
secondary
#327121
accent
#F4345D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #270630

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

Preview Lab → · Contrast checker → · Palette generator →

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