#27145F#27145F

#27145F is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.4% C 0.124 H 286.6°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#27145F
RGBrgb(39, 20, 95)
HSLhsl(255, 65%, 23%)
HSVhsv(255, 79%, 37%)
CMYKcmyk(58.9%, 78.9%, 0%, 62.7%)
CIE-LABlab(14.16, 30.63, -41.14)
CIE-LCHlch(14.16, 51.29, 306.67°)
OKLaboklab(27.36% 0.0354 -0.1184)
OKLCHoklch(27.36% 0.124 286.6)
XYZxyz(3.1518, 1.7577, 10.9974)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27145F #4C5F14
analogous
#14275F #27145F #4C145F
triadic
#27145F #5F2714 #145F27
tetradic
#27145F #5F1427 #4C5F14 #145F4C
square
#27145F #5F1427 #4C5F14 #145F4C
split-complementary
#27145F #5F4C14 #275F14
monochromatic
#0A0519 #12092C #27145F #3C1F92 #5129C4

Accessibility & contrast

On white

15.54
#27145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27145F
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27145F#FFFFFF#000000##FFFFFF
##27145F1.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00225E
Tritanopia (blue-blind)
#0E2938
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #27145f;
/* rgb */ color: rgb(39, 20, 95);
/* oklch */ color: oklch(27.4% 0.124 286.6);
Tailwind
colors: {
  custom: {
    50: '#69548d',
    500: '#27145f',
    950: '#000000',
  },
}
SCSS
$custom: #27145f;
$custom-light: #69548d;
$custom-dark: #000000;
JSON
{
  "hex": "#27145f",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 255.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.2736,
    "c": 0.12356,
    "h": 286.6
  },
  "luminance": 0.01758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27145F

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

Preview Lab → · Contrast checker → · Palette generator →

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