#271149#271149

#271149 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.098 H 296.5°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#271149
RGBrgb(39, 17, 73)
HSLhsl(264, 62%, 18%)
HSVhsv(264, 77%, 29%)
CMYKcmyk(46.6%, 76.7%, 0%, 71.4%)
CIE-LABlab(11.37, 25.38, -30.73)
CIE-LCHlch(11.37, 39.85, 309.55°)
OKLaboklab(24.71% 0.0438 -0.0878)
OKLCHoklch(24.71% 0.098 296.5)
XYZxyz(2.2394, 1.3132, 6.4375)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271149 #334911
analogous
#111749 #271149 #431149
triadic
#271149 #492711 #114927
tetradic
#271149 #491117 #334911 #114943
square
#271149 #491117 #334911 #114943
split-complementary
#271149 #494311 #174911
monochromatic
#0D0619 #0D0619 #271149 #421D7B #5C28AC

Accessibility & contrast

On white

16.63
#271149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#271149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271149
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271149#FFFFFF#000000##FFFFFF
##2711491.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4B
Deuteranopia (green-blind)
#001D48
Tritanopia (blue-blind)
#1E1F2B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #271149;
/* rgb */ color: rgb(39, 17, 73);
/* oklch */ color: oklch(24.7% 0.098 296.5);
Tailwind
colors: {
  custom: {
    50: '#65517c',
    500: '#271149',
    950: '#000000',
  },
}
SCSS
$custom: #271149;
$custom-light: #65517c;
$custom-dark: #000000;
JSON
{
  "hex": "#271149",
  "rgb": {
    "r": 39,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 263.571,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24711,
    "c": 0.09811,
    "h": 296.5
  },
  "luminance": 0.01313
}

Semantic roles & 50–950 ramp

primary
#271149
secondary
#638233
accent
#E543A5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #271149

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

Preview Lab → · Contrast checker → · Palette generator →

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