#27104C#27104C

#27104C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.104 H 295.3°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#27104C
RGBrgb(39, 16, 76)
HSLhsl(263, 65%, 18%)
HSVhsv(263, 79%, 30%)
CMYKcmyk(48.7%, 78.9%, 0%, 70.2%)
CIE-LABlab(11.44, 26.89, -32.69)
CIE-LCHlch(11.44, 42.33, 309.44°)
OKLaboklab(24.85% 0.0443 -0.0936)
OKLCHoklch(24.85% 0.104 295.3)
XYZxyz(2.3261, 1.3237, 6.9690)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27104C #354C10
analogous
#10174C #27104C #45104C
triadic
#27104C #4C2710 #104C27
tetradic
#27104C #4C1017 #354C10 #104C45
square
#27104C #4C1017 #354C10 #104C45
split-complementary
#27104C #4C4510 #174C10
monochromatic
#0D0519 #0D0519 #27104C #411B7F #5B25B1

Accessibility & contrast

On white

16.60
#27104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#27104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27104C
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27104C#FFFFFF#000000##FFFFFF
##27104C1.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#1D1F2C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #27104c;
/* rgb */ color: rgb(39, 16, 76);
/* oklch */ color: oklch(24.9% 0.104 295.3);
Tailwind
colors: {
  custom: {
    50: '#65507f',
    500: '#27104c',
    950: '#000000',
  },
}
SCSS
$custom: #27104c;
$custom-light: #65507f;
$custom-dark: #000000;
JSON
{
  "hex": "#27104c",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 263,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2485,
    "c": 0.10351,
    "h": 295.3
  },
  "luminance": 0.01324
}

Semantic roles & 50–950 ramp

primary
#27104C
secondary
#668632
accent
#E840A8
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #27104C

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

Preview Lab → · Contrast checker → · Palette generator →

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