#27114F#27114F

#27114F is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.106 H 293.6°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#27114F
RGBrgb(39, 17, 79)
HSLhsl(261, 65%, 19%)
HSVhsv(261, 78%, 31%)
CMYKcmyk(50.6%, 78.5%, 0%, 69%)
CIE-LABlab(11.94, 27.25, -33.95)
CIE-LCHlch(11.94, 43.53, 308.75°)
OKLaboklab(25.29% 0.0425 -0.0973)
OKLCHoklch(25.29% 0.106 293.6)
XYZxyz(2.4480, 1.3967, 7.5362)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27114F #394F11
analogous
#111A4F #27114F #46114F
triadic
#27114F #4F2711 #114F27
tetradic
#27114F #4F111A #394F11 #114F46
square
#27114F #4F111A #394F11 #114F46
split-complementary
#27114F #4F4611 #1A4F11
monochromatic
#0C0519 #0E061D #27114F #401C81 #5927B4

Accessibility & contrast

On white

16.41
#27114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#27114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27114F
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27114F#FFFFFF#000000##FFFFFF
##27114F1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#1B212E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #27114f;
/* rgb */ color: rgb(39, 17, 79);
/* oklch */ color: oklch(25.3% 0.106 293.6);
Tailwind
colors: {
  custom: {
    50: '#665181',
    500: '#27114f',
    950: '#000000',
  },
}
SCSS
$custom: #27114f;
$custom-light: #665181;
$custom-dark: #000000;
JSON
{
  "hex": "#27114f",
  "rgb": {
    "r": 39,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 261.29,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25291,
    "c": 0.10614,
    "h": 293.6
  },
  "luminance": 0.01397
}

Semantic roles & 50–950 ramp

primary
#27114F
secondary
#6A8833
accent
#E840AC
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #27114F

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

Preview Lab → · Contrast checker → · Palette generator →

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