#27135D#27135D

#27135D is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.0% C 0.122 H 287.6°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#27135D
RGBrgb(39, 19, 93)
HSLhsl(256, 66%, 22%)
HSVhsv(256, 80%, 36%)
CMYKcmyk(58.1%, 79.6%, 0%, 63.5%)
CIE-LABlab(13.75, 30.56, -40.47)
CIE-LCHlch(13.75, 50.71, 307.05°)
OKLaboklab(27.01% 0.0368 -0.1164)
OKLCHoklch(27.01% 0.122 287.6)
XYZxyz(3.0448, 1.6872, 10.5190)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27135D #495D13
analogous
#13245D #27135D #4C135D
triadic
#27135D #5D2713 #135D27
tetradic
#27135D #5D1324 #495D13 #135D4C
square
#27135D #5D1324 #495D13 #135D4C
split-complementary
#27135D #5D4C13 #245D13
monochromatic
#0B0519 #12092A #27135D #3C1D90 #5228C3

Accessibility & contrast

On white

15.70
#27135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#27135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27135D
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27135D#FFFFFF#000000##FFFFFF
##27135D1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#112737
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #27135d;
/* rgb */ color: rgb(39, 19, 93);
/* oklch */ color: oklch(27.0% 0.122 287.6);
Tailwind
colors: {
  custom: {
    50: '#68538c',
    500: '#27135d',
    950: '#000000',
  },
}
SCSS
$custom: #27135d;
$custom-light: #68538c;
$custom-dark: #000000;
JSON
{
  "hex": "#27135d",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 256.216,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27009,
    "c": 0.12211,
    "h": 287.6
  },
  "luminance": 0.01687
}

Semantic roles & 50–950 ramp

primary
#27135D
secondary
#7C9537
accent
#E93FBB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #27135D

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

Preview Lab → · Contrast checker → · Palette generator →

#27135D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva