#27146B#27146B

#27146B is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.139 H 283.3°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#27146B
RGBrgb(39, 20, 107)
HSLhsl(253, 69%, 25%)
HSVhsv(253, 81%, 42%)
CMYKcmyk(63.6%, 81.3%, 0%, 58%)
CIE-LABlab(15.45, 34.50, -46.95)
CIE-LCHlch(15.45, 58.26, 306.31°)
OKLaboklab(28.66% 0.0319 -0.1353)
OKLCHoklch(28.66% 0.139 283.3)
XYZxyz(3.7399, 1.9929, 14.0947)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27146B #586B14
analogous
#142D6B #27146B #52146B
triadic
#27146B #6B2714 #146B27
tetradic
#27146B #6B142D #586B14 #146B52
square
#27146B #6B142D #586B14 #146B52
split-complementary
#27146B #6B5214 #2D6B14
monochromatic
#09051A #140A37 #27146B #3A1E9F #4D27D2

Accessibility & contrast

On white

15.02
#27146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#27146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27146B
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27146B#FFFFFF#000000##FFFFFF
##27146B1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296D
Deuteranopia (green-blind)
#002469
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #27146b;
/* rgb */ color: rgb(39, 20, 107);
/* oklch */ color: oklch(28.7% 0.139 283.3);
Tailwind
colors: {
  custom: {
    50: '#6b5496',
    500: '#27146b',
    950: '#000000',
  },
}
SCSS
$custom: #27146b;
$custom-light: #6b5496;
$custom-dark: #000000;
JSON
{
  "hex": "#27146b",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 253.103,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28655,
    "c": 0.13906,
    "h": 283.3
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#27146B
secondary
#8BA239
accent
#EB3CC5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #27146B

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

Preview Lab → · Contrast checker → · Palette generator →

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