#27107B#27107B

#27107B is a dark, vivid violet. Relative luminance 0.022; OKLCH L 30.0% C 0.162 H 280.2°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#27107B
RGBrgb(39, 16, 123)
HSLhsl(253, 77%, 27%)
HSVhsv(253, 87%, 48%)
CMYKcmyk(68.3%, 87%, 0%, 51.8%)
CIE-LABlab(16.66, 41.39, -55.30)
CIE-LCHlch(16.66, 69.08, 306.81°)
OKLaboklab(30.04% 0.0287 -0.1596)
OKLCHoklch(30.04% 0.162 280.2)
XYZxyz(4.5960, 2.2316, 18.9236)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27107B #647B10
analogous
#102F7B #27107B #5C107B
triadic
#27107B #7B2710 #107B27
tetradic
#27107B #7B102F #647B10 #107B5C
square
#27107B #7B102F #647B10 #107B5C
split-complementary
#27107B #7B5C10 #2F7B10
monochromatic
#09041B #160945 #27107B #3817B1 #4C23E2

Accessibility & contrast

On white

14.52
#27107B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#27107B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27107B
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27107B#FFFFFF#000000##FFFFFF
##27107B1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003247
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #27107b;
/* rgb */ color: rgb(39, 16, 123);
/* oklch */ color: oklch(30.0% 0.162 280.2);
Tailwind
colors: {
  custom: {
    50: '#6f54a2',
    500: '#27107b',
    950: '#000000',
  },
}
SCSS
$custom: #27107b;
$custom-light: #6f54a2;
$custom-dark: #000000;
JSON
{
  "hex": "#27107b",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 123
  },
  "hsl": {
    "h": 252.897,
    "s": 76.978,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30041,
    "c": 0.16219,
    "h": 280.2
  },
  "luminance": 0.02232
}

Semantic roles & 50–950 ramp

primary
#27107B
secondary
#97B235
accent
#F434CA
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #27107B

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

Preview Lab → · Contrast checker → · Palette generator →

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