#27105B#27105B

#27105B is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.4% C 0.123 H 289.0°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#27105B
RGBrgb(39, 16, 91)
HSLhsl(258, 70%, 21%)
HSVhsv(258, 82%, 36%)
CMYKcmyk(57.1%, 82.4%, 0%, 64.3%)
CIE-LABlab(12.97, 31.56, -40.42)
CIE-LCHlch(12.97, 51.28, 307.98°)
OKLaboklab(26.39% 0.04 -0.1162)
OKLCHoklch(26.39% 0.123 289)
XYZxyz(2.9098, 1.5571, 10.0427)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27105B #445B10
analogous
#101E5B #27105B #4C105B
triadic
#27105B #5B2710 #105B27
tetradic
#27105B #5B101E #445B10 #105B4C
square
#27105B #5B101E #445B10 #105B4C
split-complementary
#27105B #5B4C10 #1E5B10
monochromatic
#0B051A #110727 #27105B #3D198F #5422C3

Accessibility & contrast

On white

16.01
#27105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#27105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27105B
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27105B#FFFFFF#000000##FFFFFF
##27105B1.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235D
Deuteranopia (green-blind)
#00205A
Tritanopia (blue-blind)
#132535
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #27105b;
/* rgb */ color: rgb(39, 16, 91);
/* oklch */ color: oklch(26.4% 0.123 289.0);
Tailwind
colors: {
  custom: {
    50: '#68518a',
    500: '#27105b',
    950: '#000000',
  },
}
SCSS
$custom: #27105b;
$custom-light: #68518a;
$custom-dark: #000000;
JSON
{
  "hex": "#27105b",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 258.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26393,
    "c": 0.12294,
    "h": 289
  },
  "luminance": 0.01557
}

Semantic roles & 50–950 ramp

primary
#27105B
secondary
#769433
accent
#ED3BB6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #27105B

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

Preview Lab → · Contrast checker → · Palette generator →

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