#27153E#27153E

#27153E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.076 H 301.2°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#27153E
RGBrgb(39, 21, 62)
HSLhsl(266, 49%, 16%)
HSVhsv(266, 66%, 24%)
CMYKcmyk(37.1%, 66.1%, 0%, 75.7%)
CIE-LABlab(11.38, 19.41, -22.98)
CIE-LCHlch(11.38, 30.08, 310.19°)
OKLaboklab(24.43% 0.0394 -0.065)
OKLCHoklch(24.43% 0.076 301.2)
XYZxyz(1.9742, 1.3155, 4.7064)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27153E #2C3E15
analogous
#15183E #27153E #3C153E
triadic
#27153E #3E2715 #153E27
tetradic
#27153E #3E1518 #2C3E15 #153E3C
square
#27153E #3E1518 #2C3E15 #153E3C
split-complementary
#27153E #3E3C15 #183E15
monochromatic
#0E0817 #0E0817 #27153E #44246C #613499

Accessibility & contrast

On white

16.63
#27153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27153E
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27153E#FFFFFF#000000##FFFFFF
##27153E1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3F
Deuteranopia (green-blind)
#0A1E3D
Tritanopia (blue-blind)
#221D27
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #27153e;
/* rgb */ color: rgb(39, 21, 62);
/* oklch */ color: oklch(24.4% 0.076 301.2);
Tailwind
colors: {
  custom: {
    50: '#635373',
    500: '#27153e',
    950: '#000000',
  },
}
SCSS
$custom: #27153e;
$custom-light: #635373;
$custom-dark: #000000;
JSON
{
  "hex": "#27153e",
  "rgb": {
    "r": 39,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 266.341,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24429,
    "c": 0.07604,
    "h": 301.2
  },
  "luminance": 0.01315
}

Semantic roles & 50–950 ramp

primary
#27153E
secondary
#5B7639
accent
#D94F9C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #27153E

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

Preview Lab → · Contrast checker → · Palette generator →

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