#27145D#27145D

#27145D is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.121 H 287.3°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#27145D
RGBrgb(39, 20, 93)
HSLhsl(256, 65%, 22%)
HSVhsv(256, 78%, 36%)
CMYKcmyk(58.1%, 78.5%, 0%, 63.5%)
CIE-LABlab(13.95, 29.99, -40.14)
CIE-LCHlch(13.95, 50.11, 306.76°)
OKLaboklab(27.15% 0.0359 -0.1154)
OKLCHoklch(27.15% 0.121 287.3)
XYZxyz(3.0621, 1.7218, 10.5248)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27145D #4A5D14
analogous
#14265D #27145D #4C145D
triadic
#27145D #5D2714 #145D27
tetradic
#27145D #5D1426 #4A5D14 #145D4C
square
#27145D #5D1426 #4A5D14 #145D4C
split-complementary
#27145D #5D4C14 #265D14
monochromatic
#0B0519 #12092B #27145D #3C1F8F #512AC2

Accessibility & contrast

On white

15.62
#27145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#27145D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27145D
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27145D#FFFFFF#000000##FFFFFF
##27145D1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#102837
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #27145d;
/* rgb */ color: rgb(39, 20, 93);
/* oklch */ color: oklch(27.2% 0.121 287.3);
Tailwind
colors: {
  custom: {
    50: '#68548c',
    500: '#27145d',
    950: '#000000',
  },
}
SCSS
$custom: #27145d;
$custom-light: #68548c;
$custom-dark: #000000;
JSON
{
  "hex": "#27145d",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 255.616,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27151,
    "c": 0.12091,
    "h": 287.3
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#27145D
secondary
#7D9538
accent
#E840BC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #27145D

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

Preview Lab → · Contrast checker → · Palette generator →

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