#27145A#27145A

#27145A is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.117 H 288.3°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#27145A
RGBrgb(39, 20, 90)
HSLhsl(256, 64%, 22%)
HSVhsv(256, 78%, 35%)
CMYKcmyk(56.7%, 77.8%, 0%, 64.7%)
CIE-LABlab(13.65, 29.01, -38.63)
CIE-LCHlch(13.65, 48.31, 306.91°)
OKLaboklab(26.84% 0.0367 -0.111)
OKLCHoklch(26.84% 0.117 288.3)
XYZxyz(2.9318, 1.6697, 9.8387)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27145A #475A14
analogous
#14245A #27145A #4A145A
triadic
#27145A #5A2714 #145A27
tetradic
#27145A #5A1424 #475A14 #145A4A
square
#27145A #5A1424 #475A14 #145A4A
split-complementary
#27145A #5A4A14 #245A14
monochromatic
#0B0619 #110928 #27145A #3D1F8C #522ABE

Accessibility & contrast

On white

15.74
#27145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#27145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27145A
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27145A#FFFFFF#000000##FFFFFF
##27145A1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#002159
Tritanopia (blue-blind)
#132735
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #27145a;
/* rgb */ color: rgb(39, 20, 90);
/* oklch */ color: oklch(26.8% 0.117 288.3);
Tailwind
colors: {
  custom: {
    50: '#685389',
    500: '#27145a',
    950: '#000000',
  },
}
SCSS
$custom: #27145a;
$custom-light: #685389;
$custom-dark: #000000;
JSON
{
  "hex": "#27145a",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 256.286,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26842,
    "c": 0.11693,
    "h": 288.3
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#27145A
secondary
#799238
accent
#E741BA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #27145A

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

Preview Lab → · Contrast checker → · Palette generator →

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