#291250#291250

#291250 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.106 H 294.8°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#291250
RGBrgb(41, 18, 80)
HSLhsl(262, 63%, 19%)
HSVhsv(262, 78%, 31%)
CMYKcmyk(48.8%, 77.5%, 0%, 68.6%)
CIE-LABlab(12.50, 27.39, -33.71)
CIE-LCHlch(12.50, 43.43, 309.10°)
OKLaboklab(25.78% 0.0445 -0.0965)
OKLCHoklch(25.78% 0.106 294.8)
XYZxyz(2.5783, 1.4831, 7.7383)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291250 #395012
analogous
#121A50 #291250 #481250
triadic
#291250 #502912 #125029
tetradic
#291250 #50121A #395012 #125048
square
#291250 #50121A #395012 #125048
split-complementary
#291250 #504812 #1A5012
monochromatic
#0D0619 #0F071E #291250 #431D82 #5C28B4

Accessibility & contrast

On white

16.20
#291250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#291250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291250
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291250#FFFFFF#000000##FFFFFF
##2912501.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#00204F
Tritanopia (blue-blind)
#1E222F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #291250;
/* rgb */ color: rgb(41, 18, 80);
/* oklch */ color: oklch(25.8% 0.106 294.8);
Tailwind
colors: {
  custom: {
    50: '#675282',
    500: '#291250',
    950: '#000000',
  },
}
SCSS
$custom: #291250;
$custom-light: #675282;
$custom-dark: #000000;
JSON
{
  "hex": "#291250",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 262.258,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25782,
    "c": 0.10625,
    "h": 294.8
  },
  "luminance": 0.01483
}

Semantic roles & 50–950 ramp

primary
#291250
secondary
#6A8935
accent
#E641A9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #291250

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

Preview Lab → · Contrast checker → · Palette generator →

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