#27196A#27196A

#27196A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.2% C 0.132 H 282.4°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#27196A
RGBrgb(39, 25, 106)
HSLhsl(250, 62%, 26%)
HSVhsv(250, 76%, 42%)
CMYKcmyk(63.2%, 76.4%, 0%, 58.4%)
CIE-LABlab(16.34, 31.35, -44.83)
CIE-LCHlch(16.34, 54.70, 304.96°)
OKLaboklab(29.25% 0.0284 -0.1292)
OKLCHoklch(29.25% 0.132 282.4)
XYZxyz(3.7850, 2.1669, 13.8517)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27196A #5C6A19
analogous
#19336A #27196A #4F196A
triadic
#27196A #6A2719 #196A27
tetradic
#27196A #6A1933 #5C6A19 #196A4F
square
#27196A #6A1933 #5C6A19 #196A4F
split-complementary
#27196A #6A4F19 #336A19
monochromatic
#090619 #150D38 #27196A #39259C #4B30CD

Accessibility & contrast

On white

14.65
#27196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#27196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27196A
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27196A#FFFFFF#000000##FFFFFF
##27196A1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002668
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #27196a;
/* rgb */ color: rgb(39, 25, 106);
/* oklch */ color: oklch(29.2% 0.132 282.4);
Tailwind
colors: {
  custom: {
    50: '#6a5795',
    500: '#27196a',
    950: '#000000',
  },
}
SCSS
$custom: #27196a;
$custom-light: #6a5795;
$custom-dark: #000000;
JSON
{
  "hex": "#27196a",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 250.37,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29249,
    "c": 0.13228,
    "h": 282.4
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#27196A
secondary
#8FA03F
accent
#E543C9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #27196A

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

Preview Lab → · Contrast checker → · Palette generator →

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