#271569#271569

#271569 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.135 H 283.6°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#271569
RGBrgb(39, 21, 105)
HSLhsl(253, 67%, 25%)
HSVhsv(253, 80%, 41%)
CMYKcmyk(62.9%, 80%, 0%, 58.8%)
CIE-LABlab(15.42, 33.32, -45.69)
CIE-LCHlch(15.42, 56.54, 306.10°)
OKLaboklab(28.57% 0.0318 -0.1317)
OKLCHoklch(28.57% 0.135 283.6)
XYZxyz(3.6539, 1.9873, 13.5529)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271569 #576915
analogous
#152D69 #271569 #511569
triadic
#271569 #692715 #156927
tetradic
#271569 #69152D #576915 #156951
square
#271569 #69152D #576915 #156951
split-complementary
#271569 #695115 #2D6915
monochromatic
#09051A #140B36 #271569 #3A1F9C #4D29CF

Accessibility & contrast

On white

15.03
#271569 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#271569 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271569
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271569#FFFFFF#000000##FFFFFF
##2715691.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #271569;
/* rgb */ color: rgb(39, 21, 105);
/* oklch */ color: oklch(28.6% 0.135 283.6);
Tailwind
colors: {
  custom: {
    50: '#6b5595',
    500: '#271569',
    950: '#000000',
  },
}
SCSS
$custom: #271569;
$custom-light: #6b5595;
$custom-dark: #000000;
JSON
{
  "hex": "#271569",
  "rgb": {
    "r": 39,
    "g": 21,
    "b": 105
  },
  "hsl": {
    "h": 252.857,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28568,
    "c": 0.13546,
    "h": 283.6
  },
  "luminance": 0.01988
}

Semantic roles & 50–950 ramp

primary
#271569
secondary
#8AA03A
accent
#EA3EC5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #271569

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

Preview Lab → · Contrast checker → · Palette generator →

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