#27147F#27147F

#27147F is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.164 H 278.9°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#27147F
RGBrgb(39, 20, 127)
HSLhsl(251, 73%, 29%)
HSVhsv(251, 84%, 50%)
CMYKcmyk(69.3%, 84.3%, 0%, 50.2%)
CIE-LABlab(17.75, 40.81, -56.04)
CIE-LCHlch(17.75, 69.33, 306.06°)
OKLaboklab(30.94% 0.0255 -0.1618)
OKLCHoklch(30.94% 0.164 278.9)
XYZxyz(4.9164, 2.4635, 20.2910)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27147F #6C7F14
analogous
#14377F #27147F #5D147F
triadic
#27147F #7F2714 #147F27
tetradic
#27147F #7F1437 #6C7F14 #147F5D
square
#27147F #7F1437 #6C7F14 #147F5D
split-complementary
#27147F #7F5D14 #377F14
monochromatic
#08041A #170C4A #27147F #371CB4 #4E2FDE

Accessibility & contrast

On white

14.07
#27147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#27147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27147F
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27147F#FFFFFF#000000##FFFFFF
##27147F1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #27147f;
/* rgb */ color: rgb(39, 20, 127);
/* oklch */ color: oklch(30.9% 0.164 278.9);
Tailwind
colors: {
  custom: {
    50: '#7056a5',
    500: '#27147f',
    950: '#000000',
  },
}
SCSS
$custom: #27147f;
$custom-light: #7056a5;
$custom-dark: #000000;
JSON
{
  "hex": "#27147f",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 250.654,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30935,
    "c": 0.16384,
    "h": 278.9
  },
  "luminance": 0.02464
}

Semantic roles & 50–950 ramp

primary
#27147F
secondary
#9FB43B
accent
#EF38CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #27147F

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

Preview Lab → · Contrast checker → · Palette generator →

#27147F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva