#27134F#27134F

#27134F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.103 H 292.9°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#27134F
RGBrgb(39, 19, 79)
HSLhsl(260, 61%, 19%)
HSVhsv(260, 76%, 31%)
CMYKcmyk(50.6%, 75.9%, 0%, 69%)
CIE-LABlab(12.36, 26.06, -33.26)
CIE-LCHlch(12.36, 42.25, 308.09°)
OKLaboklab(25.59% 0.0403 -0.0952)
OKLCHoklch(25.59% 0.103 292.9)
XYZxyz(2.4805, 1.4615, 7.5470)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27134F #3B4F13
analogous
#131D4F #27134F #45134F
triadic
#27134F #4F2713 #134F27
tetradic
#27134F #4F131D #3B4F13 #134F45
square
#27134F #4F131D #3B4F13 #134F45
split-complementary
#27134F #4F4513 #1D4F13
monochromatic
#0C0619 #0F071E #27134F #3F1F80 #582BB2

Accessibility & contrast

On white

16.25
#27134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#27134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27134F
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27134F#FFFFFF#000000##FFFFFF
##27134F1.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#001F4E
Tritanopia (blue-blind)
#1B222F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #27134f;
/* rgb */ color: rgb(39, 19, 79);
/* oklch */ color: oklch(25.6% 0.103 292.9);
Tailwind
colors: {
  custom: {
    50: '#665281',
    500: '#27134f',
    950: '#000000',
  },
}
SCSS
$custom: #27134f;
$custom-light: #665281;
$custom-dark: #000000;
JSON
{
  "hex": "#27134f",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 260,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25594,
    "c": 0.10341,
    "h": 292.9
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#27134F
secondary
#6C8836
accent
#E443AF
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #27134F

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

Preview Lab → · Contrast checker → · Palette generator →

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