#27136A#27136A

#27136A is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.139 H 283.7°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#27136A
RGBrgb(39, 19, 106)
HSLhsl(254, 70%, 25%)
HSVhsv(254, 82%, 42%)
CMYKcmyk(63.2%, 82.1%, 0%, 58.4%)
CIE-LABlab(15.16, 34.71, -46.78)
CIE-LCHlch(15.16, 58.25, 306.58°)
OKLaboklab(28.42% 0.0329 -0.1348)
OKLCHoklch(28.42% 0.139 283.7)
XYZxyz(3.6703, 1.9374, 13.8134)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27136A #566A13
analogous
#132B6A #27136A #53136A
triadic
#27136A #6A2713 #136A27
tetradic
#27136A #6A132B #566A13 #136A53
square
#27136A #6A132B #566A13 #136A53
split-complementary
#27136A #6A5313 #2B6A13
monochromatic
#0A051A #140A36 #27136A #3A1C9E #4D26D2

Accessibility & contrast

On white

15.13
#27136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#27136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27136A
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27136A#FFFFFF#000000##FFFFFF
##27136A1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002368
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #27136a;
/* rgb */ color: rgb(39, 19, 106);
/* oklch */ color: oklch(28.4% 0.139 283.7);
Tailwind
colors: {
  custom: {
    50: '#6b5496',
    500: '#27136a',
    950: '#000000',
  },
}
SCSS
$custom: #27136a;
$custom-light: #6b5496;
$custom-dark: #000000;
JSON
{
  "hex": "#27136a",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 253.793,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28416,
    "c": 0.13881,
    "h": 283.7
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#27136A
secondary
#89A138
accent
#EC3BC4
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #27136A

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

Preview Lab → · Contrast checker → · Palette generator →

#27136A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva