#27153B#27153B

#27153B is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.2% C 0.072 H 303.3°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#27153B
RGBrgb(39, 21, 59)
HSLhsl(268, 48%, 16%)
HSVhsv(268, 64%, 23%)
CMYKcmyk(33.9%, 64.4%, 0%, 76.9%)
CIE-LABlab(11.16, 18.49, -21.20)
CIE-LCHlch(11.16, 28.13, 311.10°)
OKLaboklab(24.19% 0.0393 -0.0598)
OKLCHoklch(24.19% 0.072 303.3)
XYZxyz(1.8941, 1.2834, 4.2848)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27153B #293B15
analogous
#15163B #27153B #3A153B
triadic
#27153B #3B2715 #153B27
tetradic
#27153B #3B1516 #293B15 #153B3A
square
#27153B #3B1516 #293B15 #153B3A
split-complementary
#27153B #3B3A15 #163B15
monochromatic
#0F0817 #0F0817 #27153B #452568 #633595

Accessibility & contrast

On white

16.71
#27153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#27153B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27153B
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27153B#FFFFFF#000000##FFFFFF
##27153B1.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071D3C
Deuteranopia (green-blind)
#0D1E3A
Tritanopia (blue-blind)
#231C25
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #27153b;
/* rgb */ color: rgb(39, 21, 59);
/* oklch */ color: oklch(24.2% 0.072 303.3);
Tailwind
colors: {
  custom: {
    50: '#635371',
    500: '#27153b',
    950: '#000000',
  },
}
SCSS
$custom: #27153b;
$custom-light: #635371;
$custom-dark: #000000;
JSON
{
  "hex": "#27153b",
  "rgb": {
    "r": 39,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 268.421,
    "s": 47.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24192,
    "c": 0.0716,
    "h": 303.3
  },
  "luminance": 0.01283
}

Semantic roles & 50–950 ramp

primary
#27153B
secondary
#577239
accent
#D75197
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #27153B

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

Preview Lab → · Contrast checker → · Palette generator →

#27153B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva