#27135C#27135C

#27135C is a dark, vivid violet. Relative luminance 0.017; OKLCH L 26.9% C 0.121 H 287.9°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#27135C
RGBrgb(39, 19, 92)
HSLhsl(256, 66%, 22%)
HSVhsv(256, 79%, 36%)
CMYKcmyk(57.6%, 79.3%, 0%, 63.9%)
CIE-LABlab(13.65, 30.24, -39.97)
CIE-LCHlch(13.65, 50.12, 307.10°)
OKLaboklab(26.9% 0.0371 -0.1149)
OKLCHoklch(26.9% 0.121 287.9)
XYZxyz(3.0008, 1.6696, 10.2873)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27135C #485C13
analogous
#13245C #27135C #4C135C
triadic
#27135C #5C2713 #135C27
tetradic
#27135C #5C1324 #485C13 #135C4C
square
#27135C #5C1324 #485C13 #135C4C
split-complementary
#27135C #5C4C13 #245C13
monochromatic
#0B0519 #110929 #27135C #3D1D8F #5228C1

Accessibility & contrast

On white

15.74
#27135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#27135C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27135C
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27135C#FFFFFF#000000##FFFFFF
##27135C1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#00215B
Tritanopia (blue-blind)
#122736
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #27135c;
/* rgb */ color: rgb(39, 19, 92);
/* oklch */ color: oklch(26.9% 0.121 287.9);
Tailwind
colors: {
  custom: {
    50: '#68538b',
    500: '#27135c',
    950: '#000000',
  },
}
SCSS
$custom: #27135c;
$custom-light: #68538b;
$custom-dark: #000000;
JSON
{
  "hex": "#27135c",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 256.438,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26904,
    "c": 0.12079,
    "h": 287.9
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#27135C
secondary
#7B9437
accent
#E93FBA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #27135C

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

Preview Lab → · Contrast checker → · Palette generator →

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