#27134C#27134C

#27134C is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.099 H 294.3°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#27134C
RGBrgb(39, 19, 76)
HSLhsl(261, 60%, 19%)
HSVhsv(261, 75%, 30%)
CMYKcmyk(48.7%, 75%, 0%, 70.2%)
CIE-LABlab(12.08, 25.11, -31.64)
CIE-LCHlch(12.08, 40.39, 308.43°)
OKLaboklab(25.31% 0.0408 -0.0905)
OKLCHoklch(25.31% 0.099 294.3)
XYZxyz(2.3737, 1.4188, 6.9849)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27134C #384C13
analogous
#131B4C #27134C #43134C
triadic
#27134C #4C2713 #134C27
tetradic
#27134C #4C131B #384C13 #134C43
square
#27134C #4C131B #384C13 #134C43
split-complementary
#27134C #4C4313 #1B4C13
monochromatic
#0D0618 #0E071B #27134C #401F7D #592BAE

Accessibility & contrast

On white

16.36
#27134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27134C
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27134C#FFFFFF#000000##FFFFFF
##27134C1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204E
Deuteranopia (green-blind)
#001F4B
Tritanopia (blue-blind)
#1D212D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #27134c;
/* rgb */ color: rgb(39, 19, 76);
/* oklch */ color: oklch(25.3% 0.099 294.3);
Tailwind
colors: {
  custom: {
    50: '#65527f',
    500: '#27134c',
    950: '#000000',
  },
}
SCSS
$custom: #27134c;
$custom-light: #65527f;
$custom-dark: #000000;
JSON
{
  "hex": "#27134c",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 261.053,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25308,
    "c": 0.09929,
    "h": 294.3
  },
  "luminance": 0.01419
}

Semantic roles & 50–950 ramp

primary
#27134C
secondary
#698536
accent
#E345AC
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #27134C

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

Preview Lab → · Contrast checker → · Palette generator →

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