#27196B#27196B

#27196B is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.134 H 282.2°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#27196B
RGBrgb(39, 25, 107)
HSLhsl(250, 62%, 26%)
HSVhsv(250, 77%, 42%)
CMYKcmyk(63.6%, 76.6%, 0%, 58%)
CIE-LABlab(16.44, 31.68, -45.31)
CIE-LCHlch(16.44, 55.29, 304.96°)
OKLaboklab(29.35% 0.0282 -0.1306)
OKLCHoklch(29.35% 0.134 282.2)
XYZxyz(3.8373, 2.1879, 14.1272)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27196B #5D6B19
analogous
#19346B #27196B #50196B
triadic
#27196B #6B2719 #196B27
tetradic
#27196B #6B1934 #5D6B19 #196B50
square
#27196B #6B1934 #5D6B19 #196B50
split-complementary
#27196B #6B5019 #346B19
monochromatic
#090619 #150D39 #27196B #39259D #4B30CE

Accessibility & contrast

On white

14.61
#27196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#27196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27196B
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27196B#FFFFFF#000000##FFFFFF
##27196B1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6D
Deuteranopia (green-blind)
#002669
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #27196b;
/* rgb */ color: rgb(39, 25, 107);
/* oklch */ color: oklch(29.4% 0.134 282.2);
Tailwind
colors: {
  custom: {
    50: '#6b5796',
    500: '#27196b',
    950: '#000000',
  },
}
SCSS
$custom: #27196b;
$custom-light: #6b5796;
$custom-dark: #000000;
JSON
{
  "hex": "#27196b",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 250.244,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29354,
    "c": 0.13362,
    "h": 282.2
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#27196B
secondary
#90A13F
accent
#E543C9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #27196B

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

Preview Lab → · Contrast checker → · Palette generator →

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