#27136F#27136F

#27136F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.0% C 0.145 H 282.5°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#27136F
RGBrgb(39, 19, 111)
HSLhsl(253, 71%, 25%)
HSVhsv(253, 83%, 44%)
CMYKcmyk(64.9%, 82.9%, 0%, 56.5%)
CIE-LABlab(15.72, 36.29, -49.12)
CIE-LCHlch(15.72, 61.07, 306.46°)
OKLaboklab(28.98% 0.0313 -0.1417)
OKLCHoklch(28.98% 0.145 282.5)
XYZxyz(3.9379, 2.0445, 15.2230)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27136F #5B6F13
analogous
#132D6F #27136F #55136F
triadic
#27136F #6F2713 #136F27
tetradic
#27136F #6F132D #5B6F13 #136F55
square
#27136F #6F132D #5B6F13 #136F55
split-complementary
#27136F #6F5513 #2D6F13
monochromatic
#09041A #150A3B #27136F #391CA3 #4C25D8

Accessibility & contrast

On white

14.90
#27136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#27136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27136F
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27136F#FFFFFF#000000##FFFFFF
##27136F1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #27136f;
/* rgb */ color: rgb(39, 19, 111);
/* oklch */ color: oklch(29.0% 0.145 282.5);
Tailwind
colors: {
  custom: {
    50: '#6c5499',
    500: '#27136f',
    950: '#000000',
  },
}
SCSS
$custom: #27136f;
$custom-light: #6c5499;
$custom-dark: #000000;
JSON
{
  "hex": "#27136f",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 253.043,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28976,
    "c": 0.14508,
    "h": 282.5
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#27136F
secondary
#8EA638
accent
#EE3AC7
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #27136F

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

Preview Lab → · Contrast checker → · Palette generator →

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