#27136B#27136B

#27136B is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.140 H 283.5°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#27136B
RGBrgb(39, 19, 107)
HSLhsl(254, 70%, 25%)
HSVhsv(254, 82%, 42%)
CMYKcmyk(63.6%, 82.2%, 0%, 58%)
CIE-LABlab(15.27, 35.03, -47.25)
CIE-LCHlch(15.27, 58.82, 306.55°)
OKLaboklab(28.53% 0.0326 -0.1362)
OKLCHoklch(28.53% 0.14 283.5)
XYZxyz(3.7226, 1.9584, 14.0889)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27136B #576B13
analogous
#132B6B #27136B #53136B
triadic
#27136B #6B2713 #136B27
tetradic
#27136B #6B132B #576B13 #136B53
square
#27136B #6B132B #576B13 #136B53
split-complementary
#27136B #6B5313 #2B6B13
monochromatic
#09051A #140A37 #27136B #3A1C9F #4D25D3

Accessibility & contrast

On white

15.09
#27136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27136B
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27136B#FFFFFF#000000##FFFFFF
##27136B1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296D
Deuteranopia (green-blind)
#002369
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #27136b;
/* rgb */ color: rgb(39, 19, 107);
/* oklch */ color: oklch(28.5% 0.140 283.5);
Tailwind
colors: {
  custom: {
    50: '#6b5496',
    500: '#27136b',
    950: '#000000',
  },
}
SCSS
$custom: #27136b;
$custom-light: #6b5496;
$custom-dark: #000000;
JSON
{
  "hex": "#27136b",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 253.636,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28527,
    "c": 0.14007,
    "h": 283.5
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

primary
#27136B
secondary
#8AA238
accent
#ED3BC4
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #27136B

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

Preview Lab → · Contrast checker → · Palette generator →

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