#27137E#27137E

#27137E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.163 H 279.3°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#27137E
RGBrgb(39, 19, 126)
HSLhsl(251, 74%, 28%)
HSVhsv(251, 85%, 49%)
CMYKcmyk(69%, 84.9%, 0%, 50.6%)
CIE-LABlab(17.47, 40.97, -55.87)
CIE-LCHlch(17.47, 69.28, 306.25°)
OKLaboklab(30.71% 0.0263 -0.1613)
OKLCHoklch(30.71% 0.163 279.3)
XYZxyz(4.8343, 2.4030, 19.9437)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27137E #6A7E13
analogous
#13347E #27137E #5C137E
triadic
#27137E #7E2713 #137E27
tetradic
#27137E #7E1334 #6A7E13 #137E5C
square
#27137E #7E1334 #6A7E13 #137E5C
split-complementary
#27137E #7E5C13 #347E13
monochromatic
#08041B #170B49 #27137E #371BB3 #4E2CDF

Accessibility & contrast

On white

14.18
#27137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#27137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27137E
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27137E#FFFFFF#000000##FFFFFF
##27137E1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #27137e;
/* rgb */ color: rgb(39, 19, 126);
/* oklch */ color: oklch(30.7% 0.163 279.3);
Tailwind
colors: {
  custom: {
    50: '#6f55a5',
    500: '#27137e',
    950: '#000000',
  },
}
SCSS
$custom: #27137e;
$custom-light: #6f55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#27137e",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 251.215,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30708,
    "c": 0.16345,
    "h": 279.3
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#27137E
secondary
#9DB439
accent
#F037CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #27137E

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

Preview Lab → · Contrast checker → · Palette generator →

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