#27196D#27196D

#27196D is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.136 H 281.7°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#27196D
RGBrgb(39, 25, 109)
HSLhsl(250, 63%, 26%)
HSVhsv(250, 77%, 43%)
CMYKcmyk(64.2%, 77.1%, 0%, 57.3%)
CIE-LABlab(16.65, 32.35, -46.27)
CIE-LCHlch(16.65, 56.46, 304.96°)
OKLaboklab(29.57% 0.0277 -0.1334)
OKLCHoklch(29.57% 0.136 281.7)
XYZxyz(3.9438, 2.2304, 14.6877)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27196D #5F6D19
analogous
#19356D #27196D #51196D
triadic
#27196D #6D2719 #196D27
tetradic
#27196D #6D1935 #5F6D19 #196D51
square
#27196D #6D1935 #5F6D19 #196D51
split-complementary
#27196D #6D5119 #356D19
monochromatic
#090619 #150E3B #27196D #39249F #4B31D0

Accessibility & contrast

On white

14.52
#27196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#27196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27196D
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27196D#FFFFFF#000000##FFFFFF
##27196D1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6F
Deuteranopia (green-blind)
#00266B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #27196d;
/* rgb */ color: rgb(39, 25, 109);
/* oklch */ color: oklch(29.6% 0.136 281.7);
Tailwind
colors: {
  custom: {
    50: '#6b5798',
    500: '#27196d',
    950: '#000000',
  },
}
SCSS
$custom: #27196d;
$custom-light: #6b5798;
$custom-dark: #000000;
JSON
{
  "hex": "#27196d",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 250,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29566,
    "c": 0.13627,
    "h": 281.7
  },
  "luminance": 0.02231
}

Semantic roles & 50–950 ramp

primary
#27196D
secondary
#92A23F
accent
#E642CA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #27196D

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

Preview Lab → · Contrast checker → · Palette generator →

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