#27153C#27153C

#27153C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.3% C 0.073 H 302.6°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#27153C
RGBrgb(39, 21, 60)
HSLhsl(268, 48%, 16%)
HSVhsv(268, 65%, 24%)
CMYKcmyk(35%, 65%, 0%, 76.5%)
CIE-LABlab(11.23, 18.80, -21.80)
CIE-LCHlch(11.23, 28.78, 310.77°)
OKLaboklab(24.27% 0.0394 -0.0616)
OKLCHoklch(24.27% 0.073 302.6)
XYZxyz(1.9203, 1.2939, 4.4227)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27153C #2A3C15
analogous
#15163C #27153C #3A153C
triadic
#27153C #3C2715 #153C27
tetradic
#27153C #3C1516 #2A3C15 #153C3A
square
#27153C #3C1516 #2A3C15 #153C3A
split-complementary
#27153C #3C3A15 #163C15
monochromatic
#0F0817 #0F0817 #27153C #442569 #623597

Accessibility & contrast

On white

16.68
#27153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27153C
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27153C#FFFFFF#000000##FFFFFF
##27153C1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061E3D
Deuteranopia (green-blind)
#0C1E3B
Tritanopia (blue-blind)
#231D26
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #27153c;
/* rgb */ color: rgb(39, 21, 60);
/* oklch */ color: oklch(24.3% 0.073 302.6);
Tailwind
colors: {
  custom: {
    50: '#635372',
    500: '#27153c',
    950: '#000000',
  },
}
SCSS
$custom: #27153c;
$custom-light: #635372;
$custom-dark: #000000;
JSON
{
  "hex": "#27153c",
  "rgb": {
    "r": 39,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 267.692,
    "s": 48.148,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2427,
    "c": 0.07309,
    "h": 302.6
  },
  "luminance": 0.01294
}

Semantic roles & 50–950 ramp

primary
#27153C
secondary
#597439
accent
#D85099
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050208
muted
#79787B

Preview Lab

Preview with #27153C

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

Preview Lab → · Contrast checker → · Palette generator →

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