#271376#271376

#271376 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.154 H 280.9°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#271376
RGBrgb(39, 19, 118)
HSLhsl(252, 72%, 27%)
HSVhsv(252, 84%, 46%)
CMYKcmyk(66.9%, 83.9%, 0%, 53.7%)
CIE-LABlab(16.53, 38.49, -52.31)
CIE-LCHlch(16.53, 64.95, 306.35°)
OKLaboklab(29.78% 0.029 -0.151)
OKLCHoklch(29.78% 0.154 280.9)
XYZxyz(4.3386, 2.2047, 17.3330)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271376 #627613
analogous
#133176 #271376 #591376
triadic
#271376 #762713 #137627
tetradic
#271376 #761331 #627613 #137659
square
#271376 #761331 #627613 #137659
split-complementary
#271376 #765913 #317613
monochromatic
#09041A #160B41 #271376 #381BAB #4C27DC

Accessibility & contrast

On white

14.57
#271376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#271376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271376
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271376#FFFFFF#000000##FFFFFF
##2713761.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #271376;
/* rgb */ color: rgb(39, 19, 118);
/* oklch */ color: oklch(29.8% 0.154 280.9);
Tailwind
colors: {
  custom: {
    50: '#6e559f',
    500: '#271376',
    950: '#000000',
  },
}
SCSS
$custom: #271376;
$custom-light: #6e559f;
$custom-dark: #000000;
JSON
{
  "hex": "#271376",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 252.121,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29776,
    "c": 0.15374,
    "h": 280.9
  },
  "luminance": 0.02205
}

Semantic roles & 50–950 ramp

primary
#271376
secondary
#95AC39
accent
#EF39CA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #271376

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

Preview Lab → · Contrast checker → · Palette generator →

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