#27134A#27134A

#27134A is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.097 H 295.2°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#27134A
RGBrgb(39, 19, 74)
HSLhsl(262, 59%, 18%)
HSVhsv(262, 74%, 29%)
CMYKcmyk(47.3%, 74.3%, 0%, 71%)
CIE-LABlab(11.90, 24.47, -30.56)
CIE-LCHlch(11.90, 39.15, 308.69°)
OKLaboklab(25.12% 0.0412 -0.0873)
OKLCHoklch(25.12% 0.097 295.2)
XYZxyz(2.3053, 1.3914, 6.6244)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27134A #364A13
analogous
#131A4A #27134A #42134A
triadic
#27134A #4A2713 #134A27
tetradic
#27134A #4A131A #364A13 #134A42
square
#27134A #4A131A #364A13 #134A42
split-complementary
#27134A #4A4213 #1A4A13
monochromatic
#0D0618 #0D0619 #27134A #41207B #5A2CAB

Accessibility & contrast

On white

16.43
#27134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#27134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27134A
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27134A#FFFFFF#000000##FFFFFF
##27134A1.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#1E202C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #27134a;
/* rgb */ color: rgb(39, 19, 74);
/* oklch */ color: oklch(25.1% 0.097 295.2);
Tailwind
colors: {
  custom: {
    50: '#65527d',
    500: '#27134a',
    950: '#000000',
  },
}
SCSS
$custom: #27134a;
$custom-light: #65527d;
$custom-dark: #000000;
JSON
{
  "hex": "#27134a",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 261.818,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25121,
    "c": 0.09653,
    "h": 295.2
  },
  "luminance": 0.01391
}

Semantic roles & 50–950 ramp

primary
#27134A
secondary
#678336
accent
#E245A9
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #27134A

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

Preview Lab → · Contrast checker → · Palette generator →

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