#27146F#27146F

#27146F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.144 H 282.3°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#27146F
RGBrgb(39, 20, 111)
HSLhsl(253, 69%, 26%)
HSVhsv(253, 82%, 44%)
CMYKcmyk(64.9%, 82%, 0%, 56.5%)
CIE-LABlab(15.90, 35.78, -48.82)
CIE-LCHlch(15.90, 60.53, 306.24°)
OKLaboklab(29.1% 0.0307 -0.1408)
OKLCHoklch(29.1% 0.144 282.3)
XYZxyz(3.9552, 2.0791, 15.2287)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27146F #5C6F14
analogous
#142F6F #27146F #54146F
triadic
#27146F #6F2714 #146F27
tetradic
#27146F #6F142F #5C6F14 #146F54
square
#27146F #6F142F #5C6F14 #146F54
split-complementary
#27146F #6F5414 #2F6F14
monochromatic
#09051A #150B3B #27146F #391DA3 #4B27D7

Accessibility & contrast

On white

14.83
#27146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#27146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27146F
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27146F#FFFFFF#000000##FFFFFF
##27146F1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #27146f;
/* rgb */ color: rgb(39, 20, 111);
/* oklch */ color: oklch(29.1% 0.144 282.3);
Tailwind
colors: {
  custom: {
    50: '#6c5599',
    500: '#27146f',
    950: '#000000',
  },
}
SCSS
$custom: #27146f;
$custom-light: #6c5599;
$custom-dark: #000000;
JSON
{
  "hex": "#27146f",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 252.527,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.291,
    "c": 0.14412,
    "h": 282.3
  },
  "luminance": 0.02079
}

Semantic roles & 50–950 ramp

primary
#27146F
secondary
#8FA639
accent
#EC3CC7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #27146F

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

Preview Lab → · Contrast checker → · Palette generator →

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