#27107E#27107E

#27107E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.166 H 279.6°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#27107E
RGBrgb(39, 16, 126)
HSLhsl(253, 77%, 28%)
HSVhsv(253, 87%, 49%)
CMYKcmyk(69%, 87.3%, 0%, 50.6%)
CIE-LABlab(17.03, 42.29, -56.61)
CIE-LCHlch(17.03, 70.66, 306.76°)
OKLaboklab(30.4% 0.0276 -0.1634)
OKLCHoklch(30.4% 0.166 279.6)
XYZxyz(4.7867, 2.3079, 19.9278)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27107E #677E10
analogous
#10307E #27107E #5E107E
triadic
#27107E #7E2710 #107E27
tetradic
#27107E #7E1030 #677E10 #107E5E
square
#27107E #7E1030 #677E10 #107E5E
split-complementary
#27107E #7E5E10 #307E10
monochromatic
#08031B #160948 #27107E #3817B4 #4D25E3

Accessibility & contrast

On white

14.37
#27107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#27107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27107E
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27107E#FFFFFF#000000##FFFFFF
##27107E1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #27107e;
/* rgb */ color: rgb(39, 16, 126);
/* oklch */ color: oklch(30.4% 0.166 279.6);
Tailwind
colors: {
  custom: {
    50: '#7054a5',
    500: '#27107e',
    950: '#000000',
  },
}
SCSS
$custom: #27107e;
$custom-light: #7054a5;
$custom-dark: #000000;
JSON
{
  "hex": "#27107e",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 252.545,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.304,
    "c": 0.16574,
    "h": 279.6
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#27107E
secondary
#9AB436
accent
#F434CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #27107E

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

Preview Lab → · Contrast checker → · Palette generator →

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