#27146C#27146C

#27146C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.140 H 283.0°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#27146C
RGBrgb(39, 20, 108)
HSLhsl(253, 69%, 25%)
HSVhsv(253, 81%, 42%)
CMYKcmyk(63.9%, 81.5%, 0%, 57.6%)
CIE-LABlab(15.56, 34.82, -47.42)
CIE-LCHlch(15.56, 58.83, 306.29°)
OKLaboklab(28.77% 0.0316 -0.1367)
OKLCHoklch(28.77% 0.14 283)
XYZxyz(3.7928, 2.0141, 14.3733)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27146C #596C14
analogous
#142D6C #27146C #53146C
triadic
#27146C #6C2714 #146C27
tetradic
#27146C #6C142D #596C14 #146C53
square
#27146C #6C142D #596C14 #146C53
split-complementary
#27146C #6C5314 #2D6C14
monochromatic
#09051A #140A38 #27146C #3A1EA0 #4C27D3

Accessibility & contrast

On white

14.97
#27146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27146C
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27146C#FFFFFF#000000##FFFFFF
##27146C1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6E
Deuteranopia (green-blind)
#00246A
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #27146c;
/* rgb */ color: rgb(39, 20, 108);
/* oklch */ color: oklch(28.8% 0.140 283.0);
Tailwind
colors: {
  custom: {
    50: '#6b5497',
    500: '#27146c',
    950: '#000000',
  },
}
SCSS
$custom: #27146c;
$custom-light: #6b5497;
$custom-dark: #000000;
JSON
{
  "hex": "#27146c",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 252.955,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28765,
    "c": 0.14033,
    "h": 283
  },
  "luminance": 0.02014
}

Semantic roles & 50–950 ramp

primary
#27146C
secondary
#8CA339
accent
#EC3CC6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #27146C

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

Preview Lab → · Contrast checker → · Palette generator →

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