#271044#271044

#271044 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.093 H 299.6°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#271044
RGBrgb(39, 16, 68)
HSLhsl(267, 62%, 16%)
HSVhsv(267, 76%, 27%)
CMYKcmyk(42.6%, 76.5%, 0%, 73.3%)
CIE-LABlab(10.70, 24.44, -28.32)
CIE-LCHlch(10.70, 37.41, 310.79°)
OKLaboklab(24.09% 0.0459 -0.0807)
OKLCHoklch(24.09% 0.093 299.6)
XYZxyz(2.0651, 1.2193, 5.5943)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271044 #2D4410
analogous
#101344 #271044 #411044
triadic
#271044 #442710 #104427
tetradic
#271044 #441013 #2D4410 #104441
square
#271044 #441013 #2D4410 #104441
split-complementary
#271044 #444110 #134410
monochromatic
#0E0619 #0E0619 #271044 #431C76 #6027A7

Accessibility & contrast

On white

16.88
#271044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#271044 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271044
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271044#FFFFFF#000000##FFFFFF
##2710441.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D46
Deuteranopia (green-blind)
#001C43
Tritanopia (blue-blind)
#201C28
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #271044;
/* rgb */ color: rgb(39, 16, 68);
/* oklch */ color: oklch(24.1% 0.093 299.6);
Tailwind
colors: {
  custom: {
    50: '#645078',
    500: '#271044',
    950: '#000000',
  },
}
SCSS
$custom: #271044;
$custom-light: #645078;
$custom-dark: #000000;
JSON
{
  "hex": "#271044",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 266.538,
    "s": 61.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2409,
    "c": 0.09286,
    "h": 299.6
  },
  "luminance": 0.01219
}

Semantic roles & 50–950 ramp

primary
#271044
secondary
#5C7E32
accent
#E5439D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #271044

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

Preview Lab → · Contrast checker → · Palette generator →

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