#27167C#27167C

#27167C is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.158 H 279.2°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#27167C
RGBrgb(39, 22, 124)
HSLhsl(250, 70%, 29%)
HSVhsv(250, 82%, 49%)
CMYKcmyk(68.5%, 82.3%, 0%, 51.4%)
CIE-LABlab(17.74, 38.89, -54.16)
CIE-LCHlch(17.74, 66.68, 305.68°)
OKLaboklab(30.82% 0.0254 -0.1564)
OKLCHoklch(30.82% 0.158 279.2)
XYZxyz(4.7605, 2.4600, 19.2888)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27167C #6B7C16
analogous
#16387C #27167C #5A167C
triadic
#27167C #7C2716 #167C27
tetradic
#27167C #7C1638 #6B7C16 #167C5A
square
#27167C #7C1638 #6B7C16 #167C5A
split-complementary
#27167C #7C5A16 #387C16
monochromatic
#08051A #170D48 #27167C #371FB0 #4E32DB

Accessibility & contrast

On white

14.08
#27167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#27167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27167C
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27167C#FFFFFF#000000##FFFFFF
##27167C1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #27167c;
/* rgb */ color: rgb(39, 22, 124);
/* oklch */ color: oklch(30.8% 0.158 279.2);
Tailwind
colors: {
  custom: {
    50: '#6f57a3',
    500: '#27167c',
    950: '#000000',
  },
}
SCSS
$custom: #27167c;
$custom-light: #6f57a3;
$custom-dark: #000000;
JSON
{
  "hex": "#27167c",
  "rgb": {
    "r": 39,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 250,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30821,
    "c": 0.15844,
    "h": 279.2
  },
  "luminance": 0.0246
}

Semantic roles & 50–950 ramp

primary
#27167C
secondary
#9EB13D
accent
#ED3BCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #27167C

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

Preview Lab → · Contrast checker → · Palette generator →

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