#27137C#27137C

#27137C is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.161 H 279.6°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#27137C
RGBrgb(39, 19, 124)
HSLhsl(251, 73%, 28%)
HSVhsv(251, 85%, 49%)
CMYKcmyk(68.5%, 84.7%, 0%, 51.4%)
CIE-LABlab(17.24, 40.35, -54.99)
CIE-LCHlch(17.24, 68.21, 306.27°)
OKLaboklab(30.47% 0.027 -0.1588)
OKLCHoklch(30.47% 0.161 279.6)
XYZxyz(4.7065, 2.3519, 19.2708)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27137C #687C13
analogous
#13337C #27137C #5C137C
triadic
#27137C #7C2713 #137C27
tetradic
#27137C #7C1333 #687C13 #137C5C
square
#27137C #7C1333 #687C13 #137C5C
split-complementary
#27137C #7C5C13 #337C13
monochromatic
#08041B #160B47 #27137C #381BB1 #4D2BDF

Accessibility & contrast

On white

14.28
#27137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#27137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27137C
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27137C#FFFFFF#000000##FFFFFF
##27137C1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00267A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #27137c;
/* rgb */ color: rgb(39, 19, 124);
/* oklch */ color: oklch(30.5% 0.161 279.6);
Tailwind
colors: {
  custom: {
    50: '#6f55a3',
    500: '#27137c',
    950: '#000000',
  },
}
SCSS
$custom: #27137c;
$custom-light: #6f55a3;
$custom-dark: #000000;
JSON
{
  "hex": "#27137c",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 251.429,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30473,
    "c": 0.16103,
    "h": 279.6
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#27137C
secondary
#9BB239
accent
#F038CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #27137C

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

Preview Lab → · Contrast checker → · Palette generator →

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