#291470#291470

#291470 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.145 H 283.4°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#291470
RGBrgb(41, 20, 112)
HSLhsl(254, 70%, 26%)
HSVhsv(254, 82%, 44%)
CMYKcmyk(63.4%, 82.1%, 0%, 56.1%)
CIE-LABlab(16.21, 36.34, -48.94)
CIE-LCHlch(16.21, 60.96, 306.60°)
OKLaboklab(29.4% 0.0336 -0.1411)
OKLCHoklch(29.4% 0.145 283.4)
XYZxyz(4.0883, 2.1413, 15.5240)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291470 #5B7014
analogous
#142D70 #291470 #571470
triadic
#291470 #702914 #147029
tetradic
#291470 #70142D #5B7014 #147057
square
#291470 #70142D #5B7014 #147057
split-complementary
#291470 #705714 #2D7014
monochromatic
#0A051A #160B3C #291470 #3C1DA4 #4F27D8

Accessibility & contrast

On white

14.70
#291470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#291470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291470
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291470#FFFFFF#000000##FFFFFF
##2914701.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B73
Deuteranopia (green-blind)
#00256E
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #291470;
/* rgb */ color: rgb(41, 20, 112);
/* oklch */ color: oklch(29.4% 0.145 283.4);
Tailwind
colors: {
  custom: {
    50: '#6d559a',
    500: '#291470',
    950: '#000000',
  },
}
SCSS
$custom: #291470;
$custom-light: #6d559a;
$custom-dark: #000000;
JSON
{
  "hex": "#291470",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 253.696,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29402,
    "c": 0.14506,
    "h": 283.4
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#291470
secondary
#8EA639
accent
#ED3BC4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #291470

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

Preview Lab → · Contrast checker → · Palette generator →

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