#27145E#27145E

#27145E is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.122 H 287.0°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#27145E
RGBrgb(39, 20, 94)
HSLhsl(255, 65%, 22%)
HSVhsv(255, 79%, 37%)
CMYKcmyk(58.5%, 78.7%, 0%, 63.1%)
CIE-LABlab(14.06, 30.31, -40.64)
CIE-LCHlch(14.06, 50.70, 306.71°)
OKLaboklab(27.26% 0.0357 -0.1169)
OKLCHoklch(27.26% 0.122 287)
XYZxyz(3.1066, 1.7396, 10.7596)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27145E #4B5E14
analogous
#14265E #27145E #4C145E
triadic
#27145E #5E2714 #145E27
tetradic
#27145E #5E1426 #4B5E14 #145E4C
square
#27145E #5E1426 #4B5E14 #145E4C
split-complementary
#27145E #5E4C14 #265E14
monochromatic
#0A0519 #12092C #27145E #3C1F90 #5129C3

Accessibility & contrast

On white

15.58
#27145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#27145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27145E
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27145E#FFFFFF#000000##FFFFFF
##27145E1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#00225D
Tritanopia (blue-blind)
#0F2838
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #27145e;
/* rgb */ color: rgb(39, 20, 94);
/* oklch */ color: oklch(27.3% 0.122 287.0);
Tailwind
colors: {
  custom: {
    50: '#68548c',
    500: '#27145e',
    950: '#000000',
  },
}
SCSS
$custom: #27145e;
$custom-light: #68548c;
$custom-dark: #000000;
JSON
{
  "hex": "#27145e",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 255.405,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27255,
    "c": 0.12224,
    "h": 287
  },
  "luminance": 0.0174
}

Semantic roles & 50–950 ramp

primary
#27145E
secondary
#7E9638
accent
#E840BD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #27145E

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

Preview Lab → · Contrast checker → · Palette generator →

#27145E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva