#270E30#270E30

#270E30 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.1% C 0.070 H 316.2°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#270E30
RGBrgb(39, 14, 48)
HSLhsl(284, 55%, 12%)
HSVhsv(284, 71%, 19%)
CMYKcmyk(18.7%, 70.8%, 0%, 81.2%)
CIE-LABlab(8.64, 19.94, -17.24)
CIE-LCHlch(8.64, 26.36, 319.16°)
OKLaboklab(22.09% 0.0503 -0.0482)
OKLCHoklch(22.09% 0.07 316.2)
XYZxyz(1.5272, 0.9589, 2.9004)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E30 #17300E
analogous
#160E30 #270E30 #300E28
triadic
#270E30 #30270E #0E3027
tetradic
#270E30 #30160E #17300E #0E2830
square
#270E30 #30160E #17300E #0E2830
split-complementary
#270E30 #28300E #0E3016
monochromatic
#130718 #130718 #270E30 #4D1C5F #742A8F

Accessibility & contrast

On white

17.62
#270E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#270E30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270E30
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E30#FFFFFF#000000##FFFFFF
##270E301.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051731
Deuteranopia (green-blind)
#0E1A2F
Tritanopia (blue-blind)
#27141D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #270e30;
/* rgb */ color: rgb(39, 14, 48);
/* oklch */ color: oklch(22.1% 0.070 316.2);
Tailwind
colors: {
  custom: {
    50: '#624e68',
    500: '#270e30',
    950: '#000000',
  },
}
SCSS
$custom: #270e30;
$custom-light: #624e68;
$custom-dark: #000000;
JSON
{
  "hex": "#270e30",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 48
  },
  "hsl": {
    "h": 284.118,
    "s": 54.839,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22094,
    "c": 0.06964,
    "h": 316.2
  },
  "luminance": 0.00959
}

Semantic roles & 50–950 ramp

primary
#270E30
secondary
#3F6A2F
accent
#DE4A71
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #270E30

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

Preview Lab → · Contrast checker → · Palette generator →

#270E30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva