#27104B#27104B

#27104B is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.102 H 295.8°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#27104B
RGBrgb(39, 16, 75)
HSLhsl(263, 65%, 18%)
HSVhsv(263, 79%, 29%)
CMYKcmyk(48%, 78.7%, 0%, 70.6%)
CIE-LABlab(11.34, 26.58, -32.15)
CIE-LCHlch(11.34, 41.72, 309.58°)
OKLaboklab(24.75% 0.0445 -0.092)
OKLCHoklch(24.75% 0.102 295.8)
XYZxyz(2.2917, 1.3099, 6.7873)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27104B #344B10
analogous
#10164B #27104B #44104B
triadic
#27104B #4B2710 #104B27
tetradic
#27104B #4B1016 #344B10 #104B44
square
#27104B #4B1016 #344B10 #104B44
split-complementary
#27104B #4B4410 #164B10
monochromatic
#0D0519 #0D0519 #27104B #411B7D #5B26B0

Accessibility & contrast

On white

16.64
#27104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27104B
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27104B#FFFFFF#000000##FFFFFF
##27104B1.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27104b;
/* rgb */ color: rgb(39, 16, 75);
/* oklch */ color: oklch(24.8% 0.102 295.8);
Tailwind
colors: {
  custom: {
    50: '#65507e',
    500: '#27104b',
    950: '#000000',
  },
}
SCSS
$custom: #27104b;
$custom-light: #65507e;
$custom-dark: #000000;
JSON
{
  "hex": "#27104b",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 263.39,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24752,
    "c": 0.10219,
    "h": 295.8
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#27104B
secondary
#658532
accent
#E840A6
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #27104B

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

Preview Lab → · Contrast checker → · Palette generator →

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