#27145C#27145C

#27145C is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.120 H 287.6°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#27145C
RGBrgb(39, 20, 92)
HSLhsl(256, 64%, 22%)
HSVhsv(256, 78%, 36%)
CMYKcmyk(57.6%, 78.3%, 0%, 63.9%)
CIE-LABlab(13.85, 29.66, -39.64)
CIE-LCHlch(13.85, 49.51, 306.81°)
OKLaboklab(27.05% 0.0362 -0.114)
OKLCHoklch(27.05% 0.12 287.6)
XYZxyz(3.0181, 1.7042, 10.2931)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27145C #495C14
analogous
#14255C #27145C #4B145C
triadic
#27145C #5C2714 #145C27
tetradic
#27145C #5C1425 #495C14 #145C4B
square
#27145C #5C1425 #495C14 #145C4B
split-complementary
#27145C #5C4B14 #255C14
monochromatic
#0B0519 #12092A #27145C #3C1F8E #522AC1

Accessibility & contrast

On white

15.66
#27145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27145C
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27145C#FFFFFF#000000##FFFFFF
##27145C1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#00215B
Tritanopia (blue-blind)
#112736
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #27145c;
/* rgb */ color: rgb(39, 20, 92);
/* oklch */ color: oklch(27.0% 0.120 287.6);
Tailwind
colors: {
  custom: {
    50: '#68548b',
    500: '#27145c',
    950: '#000000',
  },
}
SCSS
$custom: #27145c;
$custom-light: #68548b;
$custom-dark: #000000;
JSON
{
  "hex": "#27145c",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 255.833,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27047,
    "c": 0.11959,
    "h": 287.6
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#27145C
secondary
#7C9438
accent
#E741BB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #27145C

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

Preview Lab → · Contrast checker → · Palette generator →

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