#271464#271464

#271464 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 27.9% C 0.130 H 285.2°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#271464
RGBrgb(39, 20, 100)
HSLhsl(254, 67%, 24%)
HSVhsv(254, 80%, 39%)
CMYKcmyk(61%, 80%, 0%, 60.8%)
CIE-LABlab(14.69, 32.25, -43.60)
CIE-LCHlch(14.69, 54.23, 306.49°)
OKLaboklab(27.89% 0.034 -0.1256)
OKLCHoklch(27.89% 0.13 285.2)
XYZxyz(3.3864, 1.8515, 12.2331)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271464 #516414
analogous
#142964 #271464 #4F1464
triadic
#271464 #642714 #146427
tetradic
#271464 #641429 #516414 #14644F
square
#271464 #641429 #516414 #14644F
split-complementary
#271464 #644F14 #296414
monochromatic
#0A051A #130A31 #271464 #3B1E97 #4F28CA

Accessibility & contrast

On white

15.32
#271464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#271464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271464
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271464#FFFFFF#000000##FFFFFF
##2714641.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002766
Deuteranopia (green-blind)
#002363
Tritanopia (blue-blind)
#072B3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #271464;
/* rgb */ color: rgb(39, 20, 100);
/* oklch */ color: oklch(27.9% 0.130 285.2);
Tailwind
colors: {
  custom: {
    50: '#6a5491',
    500: '#271464',
    950: '#000000',
  },
}
SCSS
$custom: #271464;
$custom-light: #6a5491;
$custom-dark: #000000;
JSON
{
  "hex": "#271464",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 254.25,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27891,
    "c": 0.13008,
    "h": 285.2
  },
  "luminance": 0.01852
}

Semantic roles & 50–950 ramp

primary
#271464
secondary
#849B38
accent
#EA3EC1
background
#F6F4F9
surface
#ECE8F1
border
#C7C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #271464

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

Preview Lab → · Contrast checker → · Palette generator →

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