#27105C#27105C

#27105C is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.124 H 288.6°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#27105C
RGBrgb(39, 16, 92)
HSLhsl(258, 70%, 21%)
HSVhsv(258, 83%, 36%)
CMYKcmyk(57.6%, 82.6%, 0%, 63.9%)
CIE-LABlab(13.07, 31.87, -40.92)
CIE-LCHlch(13.07, 51.86, 307.91°)
OKLaboklab(26.5% 0.0397 -0.1177)
OKLCHoklch(26.5% 0.124 288.6)
XYZxyz(2.9532, 1.5745, 10.2714)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27105C #455C10
analogous
#101F5C #27105C #4D105C
triadic
#27105C #5C2710 #105C27
tetradic
#27105C #5C101F #455C10 #105C4D
square
#27105C #5C101F #455C10 #105C4D
split-complementary
#27105C #5C4D10 #1F5C10
monochromatic
#0B051A #110728 #27105C #3D1990 #5322C4

Accessibility & contrast

On white

15.97
#27105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#27105C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27105C
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27105C#FFFFFF#000000##FFFFFF
##27105C1.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235E
Deuteranopia (green-blind)
#00205B
Tritanopia (blue-blind)
#122635
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #27105c;
/* rgb */ color: rgb(39, 16, 92);
/* oklch */ color: oklch(26.5% 0.124 288.6);
Tailwind
colors: {
  custom: {
    50: '#68518b',
    500: '#27105c',
    950: '#000000',
  },
}
SCSS
$custom: #27105c;
$custom-light: #68518b;
$custom-dark: #000000;
JSON
{
  "hex": "#27105c",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 258.158,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26501,
    "c": 0.12421,
    "h": 288.6
  },
  "luminance": 0.01575
}

Semantic roles & 50–950 ramp

primary
#27105C
secondary
#779533
accent
#ED3BB7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #27105C

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

Preview Lab → · Contrast checker → · Palette generator →

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