#27107F#27107F

#27107F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.5% C 0.167 H 279.4°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#27107F
RGBrgb(39, 16, 127)
HSLhsl(252, 78%, 28%)
HSVhsv(252, 87%, 50%)
CMYKcmyk(69.3%, 87.4%, 0%, 50.2%)
CIE-LABlab(17.15, 42.59, -57.04)
CIE-LCHlch(17.15, 71.19, 306.74°)
OKLaboklab(30.52% 0.0272 -0.1647)
OKLCHoklch(30.52% 0.167 279.4)
XYZxyz(4.8515, 2.3338, 20.2694)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27107F #687F10
analogous
#10317F #27107F #5E107F
triadic
#27107F #7F2710 #107F27
tetradic
#27107F #7F1031 #687F10 #107F5E
square
#27107F #7F1031 #687F10 #107F5E
split-complementary
#27107F #7F5E10 #317F10
monochromatic
#08031B #160949 #27107F #3817B5 #4D26E4

Accessibility & contrast

On white

14.32
#27107F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#27107F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27107F
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27107F#FFFFFF#000000##FFFFFF
##27107F1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #27107f;
/* rgb */ color: rgb(39, 16, 127);
/* oklch */ color: oklch(30.5% 0.167 279.4);
Tailwind
colors: {
  custom: {
    50: '#7054a5',
    500: '#27107f',
    950: '#000000',
  },
}
SCSS
$custom: #27107f;
$custom-light: #7054a5;
$custom-dark: #000000;
JSON
{
  "hex": "#27107f",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 127
  },
  "hsl": {
    "h": 252.432,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30521,
    "c": 0.16692,
    "h": 279.4
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27107F

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

Preview Lab → · Contrast checker → · Palette generator →

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