#290741#290741

#290741 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.102 H 306.3°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#290741
RGBrgb(41, 7, 65)
HSLhsl(275, 81%, 14%)
HSVhsv(275, 89%, 25%)
CMYKcmyk(36.9%, 89.2%, 0%, 74.5%)
CIE-LABlab(9.03, 28.85, -28.89)
CIE-LCHlch(9.03, 40.83, 314.95°)
OKLaboklab(22.89% 0.0604 -0.0823)
OKLCHoklch(22.89% 0.102 306.3)
XYZxyz(1.9444, 1.0050, 5.0916)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290741 #1F4107
analogous
#0C0741 #290741 #41073C
triadic
#290741 #412907 #074129
tetradic
#290741 #410C07 #1F4107 #073C41
square
#290741 #410C07 #1F4107 #073C41
split-complementary
#290741 #3C4107 #07410C
monochromatic
#11031C #11031C #290741 #4C0D78 #6F13B0

Accessibility & contrast

On white

17.49
#290741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#290741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290741
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290741#FFFFFF#000000##FFFFFF
##2907411.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001A40
Tritanopia (blue-blind)
#251624
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #290741;
/* rgb */ color: rgb(41, 7, 65);
/* oklch */ color: oklch(22.9% 0.102 306.3);
Tailwind
colors: {
  custom: {
    50: '#664b76',
    500: '#290741',
    950: '#000000',
  },
}
SCSS
$custom: #290741;
$custom-light: #664b76;
$custom-dark: #000000;
JSON
{
  "hex": "#290741",
  "rgb": {
    "r": 41,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 275.172,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22893,
    "c": 0.10207,
    "h": 306.3
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#290741
secondary
#4A8024
accent
#F73183
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #290741

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

Preview Lab → · Contrast checker → · Palette generator →

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