#27135B#27135B

#27135B is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.119 H 288.2°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#27135B
RGBrgb(39, 19, 91)
HSLhsl(257, 65%, 22%)
HSVhsv(257, 79%, 36%)
CMYKcmyk(57.1%, 79.1%, 0%, 64.3%)
CIE-LABlab(13.55, 29.91, -39.47)
CIE-LCHlch(13.55, 49.52, 307.15°)
OKLaboklab(26.8% 0.0374 -0.1135)
OKLCHoklch(26.8% 0.119 288.2)
XYZxyz(2.9573, 1.6523, 10.0586)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27135B #475B13
analogous
#13235B #27135B #4B135B
triadic
#27135B #5B2713 #135B27
tetradic
#27135B #5B1323 #475B13 #135B4B
square
#27135B #5B1323 #475B13 #135B4B
split-complementary
#27135B #5B4B13 #235B13
monochromatic
#0B0519 #110828 #27135B #3D1E8E #5228C0

Accessibility & contrast

On white

15.78
#27135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27135B
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27135B#FFFFFF#000000##FFFFFF
##27135B1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27135b;
/* rgb */ color: rgb(39, 19, 91);
/* oklch */ color: oklch(26.8% 0.119 288.2);
Tailwind
colors: {
  custom: {
    50: '#68538a',
    500: '#27135b',
    950: '#000000',
  },
}
SCSS
$custom: #27135b;
$custom-light: #68538a;
$custom-dark: #000000;
JSON
{
  "hex": "#27135b",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 256.667,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26799,
    "c": 0.11948,
    "h": 288.2
  },
  "luminance": 0.01652
}

Semantic roles & 50–950 ramp

primary
#27135B
secondary
#799337
accent
#E83FB9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #27135B

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

Preview Lab → · Contrast checker → · Palette generator →

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