#27167A#27167A

#27167A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.156 H 279.6°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#27167A
RGBrgb(39, 22, 122)
HSLhsl(250, 69%, 28%)
HSVhsv(250, 82%, 48%)
CMYKcmyk(68%, 82%, 0%, 52.2%)
CIE-LABlab(17.51, 38.25, -53.26)
CIE-LCHlch(17.51, 65.58, 305.69°)
OKLaboklab(30.59% 0.026 -0.1538)
OKLCHoklch(30.59% 0.156 279.6)
XYZxyz(4.6353, 2.4099, 18.6295)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27167A #697A16
analogous
#16377A #27167A #59167A
triadic
#27167A #7A2716 #167A27
tetradic
#27167A #7A1637 #697A16 #167A59
square
#27167A #7A1637 #697A16 #167A59
split-complementary
#27167A #7A5916 #377A16
monochromatic
#08051A #160D46 #27167A #381FAE #4D31DA

Accessibility & contrast

On white

14.17
#27167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#27167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27167A
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27167A#FFFFFF#000000##FFFFFF
##27167A1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002778
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #27167a;
/* rgb */ color: rgb(39, 22, 122);
/* oklch */ color: oklch(30.6% 0.156 279.6);
Tailwind
colors: {
  custom: {
    50: '#6e57a2',
    500: '#27167a',
    950: '#000000',
  },
}
SCSS
$custom: #27167a;
$custom-light: #6e57a2;
$custom-dark: #000000;
JSON
{
  "hex": "#27167a",
  "rgb": {
    "r": 39,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 250.2,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30592,
    "c": 0.15597,
    "h": 279.6
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#27167A
secondary
#9CAF3D
accent
#EC3CCE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #27167A

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

Preview Lab → · Contrast checker → · Palette generator →

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