#291380#291380

#291380 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.165 H 280.0°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#291380
RGBrgb(41, 19, 128)
HSLhsl(252, 74%, 29%)
HSVhsv(252, 85%, 50%)
CMYKcmyk(68%, 85.2%, 0%, 49.8%)
CIE-LABlab(17.90, 41.77, -56.43)
CIE-LCHlch(17.90, 70.21, 306.50°)
OKLaboklab(31.12% 0.0288 -0.1629)
OKLCHoklch(31.12% 0.165 280)
XYZxyz(5.0424, 2.4953, 20.6338)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291380 #6A8013
analogous
#133480 #291380 #601380
triadic
#291380 #802913 #138029
tetradic
#291380 #801334 #6A8013 #138060
square
#291380 #801334 #6A8013 #138060
split-complementary
#291380 #806013 #348013
monochromatic
#09041B #180B4B #291380 #3A1BB5 #522DE0

Accessibility & contrast

On white

14.01
#291380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#291380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291380
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291380#FFFFFF#000000##FFFFFF
##2913801.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00287E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291380;
/* rgb */ color: rgb(41, 19, 128);
/* oklch */ color: oklch(31.1% 0.165 280.0);
Tailwind
colors: {
  custom: {
    50: '#7156a6',
    500: '#291380',
    950: '#000000',
  },
}
SCSS
$custom: #291380;
$custom-light: #7156a6;
$custom-dark: #000000;
JSON
{
  "hex": "#291380",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 252.11,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31115,
    "c": 0.16543,
    "h": 280
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#291380
secondary
#9CB539
accent
#F137CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #291380

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

Preview Lab → · Contrast checker → · Palette generator →

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