#27114C#27114C

#27114C is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.102 H 295.0°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#27114C
RGBrgb(39, 17, 76)
HSLhsl(262, 63%, 18%)
HSVhsv(262, 78%, 30%)
CMYKcmyk(48.7%, 77.6%, 0%, 70.2%)
CIE-LABlab(11.65, 26.31, -32.35)
CIE-LCHlch(11.65, 41.70, 309.12°)
OKLaboklab(25% 0.0432 -0.0926)
OKLCHoklch(25% 0.102 295)
XYZxyz(2.3413, 1.3540, 6.9741)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27114C #364C11
analogous
#11184C #27114C #44114C
triadic
#27114C #4C2711 #114C27
tetradic
#27114C #4C1118 #364C11 #114C44
square
#27114C #4C1118 #364C11 #114C44
split-complementary
#27114C #4C4411 #184C11
monochromatic
#0D0619 #0D061A #27114C #411C7E #5A27B0

Accessibility & contrast

On white

16.53
#27114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#27114C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27114C
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27114C#FFFFFF#000000##FFFFFF
##27114C1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#001E4B
Tritanopia (blue-blind)
#1D202D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #27114c;
/* rgb */ color: rgb(39, 17, 76);
/* oklch */ color: oklch(25.0% 0.102 295.0);
Tailwind
colors: {
  custom: {
    50: '#65517f',
    500: '#27114c',
    950: '#000000',
  },
}
SCSS
$custom: #27114c;
$custom-light: #65517f;
$custom-dark: #000000;
JSON
{
  "hex": "#27114c",
  "rgb": {
    "r": 39,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 262.373,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24998,
    "c": 0.10214,
    "h": 295
  },
  "luminance": 0.01354
}

Semantic roles & 50–950 ramp

primary
#27114C
secondary
#678533
accent
#E641A9
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #27114C

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

Preview Lab → · Contrast checker → · Palette generator →

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