#27144F#27144F

#27144F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.102 H 292.5°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#27144F
RGBrgb(39, 20, 79)
HSLhsl(259, 60%, 19%)
HSVhsv(259, 75%, 31%)
CMYKcmyk(50.6%, 74.7%, 0%, 69%)
CIE-LABlab(12.58, 25.45, -32.89)
CIE-LCHlch(12.58, 41.59, 307.73°)
OKLaboklab(25.75% 0.0391 -0.0942)
OKLCHoklch(25.75% 0.102 292.5)
XYZxyz(2.4977, 1.4961, 7.5528)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27144F #3C4F14
analogous
#141F4F #27144F #45144F
triadic
#27144F #4F2714 #144F27
tetradic
#27144F #4F141F #3C4F14 #144F45
square
#27144F #4F141F #3C4F14 #144F45
split-complementary
#27144F #4F4514 #1F4F14
monochromatic
#0C0618 #0F081E #27144F #3F2080 #572DB1

Accessibility & contrast

On white

16.16
#27144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#27144F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27144F
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27144F#FFFFFF#000000##FFFFFF
##27144F1.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#00204E
Tritanopia (blue-blind)
#1B232F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #27144f;
/* rgb */ color: rgb(39, 20, 79);
/* oklch */ color: oklch(25.8% 0.102 292.5);
Tailwind
colors: {
  custom: {
    50: '#665381',
    500: '#27144f',
    950: '#000000',
  },
}
SCSS
$custom: #27144f;
$custom-light: #665381;
$custom-dark: #000000;
JSON
{
  "hex": "#27144f",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 259.322,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25753,
    "c": 0.10199,
    "h": 292.5
  },
  "luminance": 0.01496
}

Semantic roles & 50–950 ramp

primary
#27144F
secondary
#6E8738
accent
#E345B0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #27144F

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

Preview Lab → · Contrast checker → · Palette generator →

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