#271463#271463

#271463 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.129 H 285.4°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#271463
RGBrgb(39, 20, 99)
HSLhsl(254, 66%, 23%)
HSVhsv(254, 80%, 39%)
CMYKcmyk(60.6%, 79.8%, 0%, 61.2%)
CIE-LABlab(14.58, 31.93, -43.11)
CIE-LCHlch(14.58, 53.64, 306.52°)
OKLaboklab(27.78% 0.0343 -0.1241)
OKLCHoklch(27.78% 0.129 285.4)
XYZxyz(3.3383, 1.8323, 11.9797)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271463 #506314
analogous
#142863 #271463 #4E1463
triadic
#271463 #632714 #146327
tetradic
#271463 #631428 #506314 #14634E
square
#271463 #631428 #506314 #14634E
split-complementary
#271463 #634E14 #286314
monochromatic
#0A0519 #130A30 #271463 #3B1E96 #4F29C9

Accessibility & contrast

On white

15.37
#271463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271463
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271463#FFFFFF#000000##FFFFFF
##2714631.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002765
Deuteranopia (green-blind)
#002262
Tritanopia (blue-blind)
#092A3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #271463;
/* rgb */ color: rgb(39, 20, 99);
/* oklch */ color: oklch(27.8% 0.129 285.4);
Tailwind
colors: {
  custom: {
    50: '#695490',
    500: '#271463',
    950: '#000000',
  },
}
SCSS
$custom: #271463;
$custom-light: #695490;
$custom-dark: #000000;
JSON
{
  "hex": "#271463",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 99
  },
  "hsl": {
    "h": 254.43,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27784,
    "c": 0.12879,
    "h": 285.4
  },
  "luminance": 0.01832
}

Semantic roles & 50–950 ramp

primary
#271463
secondary
#839A38
accent
#E93EC0
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #271463

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

Preview Lab → · Contrast checker → · Palette generator →

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