#271473#271473

#271473 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.149 H 281.4°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#271473
RGBrgb(39, 20, 115)
HSLhsl(252, 70%, 26%)
HSVhsv(252, 83%, 45%)
CMYKcmyk(66.1%, 82.6%, 0%, 54.9%)
CIE-LABlab(16.35, 37.05, -50.67)
CIE-LCHlch(16.35, 62.77, 306.18°)
OKLaboklab(29.55% 0.0294 -0.1462)
OKLCHoklch(29.55% 0.149 281.4)
XYZxyz(4.1804, 2.1691, 16.4147)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271473 #607314
analogous
#143173 #271473 #571473
triadic
#271473 #732714 #147327
tetradic
#271473 #731431 #607314 #147357
square
#271473 #731431 #607314 #147357
split-complementary
#271473 #735714 #317314
monochromatic
#09051A #150B3F #271473 #391DA7 #4B28DA

Accessibility & contrast

On white

14.65
#271473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#271473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271473
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271473#FFFFFF#000000##FFFFFF
##2714731.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002571
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #271473;
/* rgb */ color: rgb(39, 20, 115);
/* oklch */ color: oklch(29.6% 0.149 281.4);
Tailwind
colors: {
  custom: {
    50: '#6d559c',
    500: '#271473',
    950: '#000000',
  },
}
SCSS
$custom: #271473;
$custom-light: #6d559c;
$custom-dark: #000000;
JSON
{
  "hex": "#271473",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 252,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29551,
    "c": 0.14912,
    "h": 281.4
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#271473
secondary
#93A93A
accent
#ED3BC9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #271473

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

Preview Lab → · Contrast checker → · Palette generator →

#271473 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva