#27135F#27135F

#27135F is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.125 H 286.9°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#27135F
RGBrgb(39, 19, 95)
HSLhsl(256, 67%, 22%)
HSVhsv(256, 80%, 37%)
CMYKcmyk(58.9%, 80%, 0%, 62.7%)
CIE-LABlab(13.96, 31.20, -41.47)
CIE-LCHlch(13.96, 51.89, 306.96°)
OKLaboklab(27.22% 0.0363 -0.1193)
OKLCHoklch(27.22% 0.125 286.9)
XYZxyz(3.1345, 1.7231, 10.9917)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27135F #4B5F13
analogous
#13255F #27135F #4D135F
triadic
#27135F #5F2713 #135F27
tetradic
#27135F #5F1325 #4B5F13 #135F4D
square
#27135F #5F1325 #4B5F13 #135F4D
split-complementary
#27135F #5F4D13 #255F13
monochromatic
#0A051A #12092C #27135F #3C1D92 #5127C5

Accessibility & contrast

On white

15.62
#27135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27135F
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27135F#FFFFFF#000000##FFFFFF
##27135F1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002561
Deuteranopia (green-blind)
#00215E
Tritanopia (blue-blind)
#0E2838
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #27135f;
/* rgb */ color: rgb(39, 19, 95);
/* oklch */ color: oklch(27.2% 0.125 286.9);
Tailwind
colors: {
  custom: {
    50: '#69538d',
    500: '#27135f',
    950: '#000000',
  },
}
SCSS
$custom: #27135f;
$custom-light: #69538d;
$custom-dark: #000000;
JSON
{
  "hex": "#27135f",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 255.789,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2722,
    "c": 0.12471,
    "h": 286.9
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#27135F
secondary
#7E9737
accent
#EA3EBC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #27135F

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

Preview Lab → · Contrast checker → · Palette generator →

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