#27146A#27146A

#27146A is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.138 H 283.5°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#27146A
RGBrgb(39, 20, 106)
HSLhsl(253, 68%, 25%)
HSVhsv(253, 81%, 42%)
CMYKcmyk(63.2%, 81.1%, 0%, 58.4%)
CIE-LABlab(15.34, 34.18, -46.48)
CIE-LCHlch(15.34, 57.69, 306.33°)
OKLaboklab(28.54% 0.0322 -0.134)
OKLCHoklch(28.54% 0.138 283.5)
XYZxyz(3.6876, 1.9720, 13.8192)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27146A #576A14
analogous
#142C6A #27146A #52146A
triadic
#27146A #6A2714 #146A27
tetradic
#27146A #6A142C #576A14 #146A52
square
#27146A #6A142C #576A14 #146A52
split-complementary
#27146A #6A5214 #2C6A14
monochromatic
#09051A #140A37 #27146A #3A1E9D #4D27D1

Accessibility & contrast

On white

15.06
#27146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#27146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27146A
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27146A#FFFFFF#000000##FFFFFF
##27146A1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002368
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #27146a;
/* rgb */ color: rgb(39, 20, 106);
/* oklch */ color: oklch(28.5% 0.138 283.5);
Tailwind
colors: {
  custom: {
    50: '#6b5496',
    500: '#27146a',
    950: '#000000',
  },
}
SCSS
$custom: #27146a;
$custom-light: #6b5496;
$custom-dark: #000000;
JSON
{
  "hex": "#27146a",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 253.256,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28544,
    "c": 0.13779,
    "h": 283.5
  },
  "luminance": 0.01972
}

Semantic roles & 50–950 ramp

primary
#27146A
secondary
#8AA139
accent
#EB3DC5
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #27146A

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

Preview Lab → · Contrast checker → · Palette generator →

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