#27104F#27104F

#27104F is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.107 H 293.9°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#27104F
RGBrgb(39, 16, 79)
HSLhsl(262, 66%, 19%)
HSVhsv(262, 80%, 31%)
CMYKcmyk(50.6%, 79.7%, 0%, 69%)
CIE-LABlab(11.73, 27.82, -34.28)
CIE-LCHlch(11.73, 44.15, 309.06°)
OKLaboklab(25.15% 0.0435 -0.0982)
OKLCHoklch(25.15% 0.107 293.9)
XYZxyz(2.4329, 1.3664, 7.5312)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27104F #384F10
analogous
#10184F #27104F #46104F
triadic
#27104F #4F2710 #104F27
tetradic
#27104F #4F1018 #384F10 #104F46
square
#27104F #4F1018 #384F10 #104F46
split-complementary
#27104F #4F4610 #184F10
monochromatic
#0D0519 #0E061C #27104F #401A82 #5925B5

Accessibility & contrast

On white

16.49
#27104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#27104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27104F
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27104F#FFFFFF#000000##FFFFFF
##27104F1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27104f;
/* rgb */ color: rgb(39, 16, 79);
/* oklch */ color: oklch(25.1% 0.107 293.9);
Tailwind
colors: {
  custom: {
    50: '#665081',
    500: '#27104f',
    950: '#000000',
  },
}
SCSS
$custom: #27104f;
$custom-light: #665081;
$custom-dark: #000000;
JSON
{
  "hex": "#27104f",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 261.905,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25147,
    "c": 0.10746,
    "h": 293.9
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#27104F
secondary
#698932
accent
#E93FAB
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #27104F

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

Preview Lab → · Contrast checker → · Palette generator →

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