#27134E#27134E

#27134E is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.102 H 293.4°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#27134E
RGBrgb(39, 19, 78)
HSLhsl(260, 61%, 19%)
HSVhsv(260, 76%, 31%)
CMYKcmyk(50%, 75.6%, 0%, 69.4%)
CIE-LABlab(12.27, 25.74, -32.72)
CIE-LCHlch(12.27, 41.63, 308.19°)
OKLaboklab(25.5% 0.0405 -0.0937)
OKLCHoklch(25.5% 0.102 293.4)
XYZxyz(2.4443, 1.4471, 7.3568)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27134E #3A4E13
analogous
#131D4E #27134E #45134E
triadic
#27134E #4E2713 #134E27
tetradic
#27134E #4E131D #3A4E13 #134E45
square
#27134E #4E131D #3A4E13 #134E45
split-complementary
#27134E #4E4513 #1D4E13
monochromatic
#0C0619 #0E071D #27134E #401F7F #582BB0

Accessibility & contrast

On white

16.29
#27134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27134E
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27134E#FFFFFF#000000##FFFFFF
##27134E1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002150
Deuteranopia (green-blind)
#001F4D
Tritanopia (blue-blind)
#1C222E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #27134e;
/* rgb */ color: rgb(39, 19, 78);
/* oklch */ color: oklch(25.5% 0.102 293.4);
Tailwind
colors: {
  custom: {
    50: '#665280',
    500: '#27134e',
    950: '#000000',
  },
}
SCSS
$custom: #27134e;
$custom-light: #665280;
$custom-dark: #000000;
JSON
{
  "hex": "#27134e",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 260.339,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25498,
    "c": 0.10203,
    "h": 293.4
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#27134E
secondary
#6B8736
accent
#E444AE
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #27134E

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

Preview Lab → · Contrast checker → · Palette generator →

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