#290740#290740

#290740 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.101 H 307.0°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#290740
RGBrgb(41, 7, 64)
HSLhsl(276, 80%, 14%)
HSVhsv(276, 89%, 25%)
CMYKcmyk(35.9%, 89.1%, 0%, 74.9%)
CIE-LABlab(8.94, 28.58, -28.34)
CIE-LCHlch(8.94, 40.25, 315.24°)
OKLaboklab(22.8% 0.0607 -0.0806)
OKLCHoklch(22.8% 0.101 307)
XYZxyz(1.9156, 0.9936, 4.9404)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290740 #1E4007
analogous
#0C0740 #290740 #40073B
triadic
#290740 #402907 #074029
tetradic
#290740 #400C07 #1E4007 #073B40
square
#290740 #400C07 #1E4007 #073B40
split-complementary
#290740 #3B4007 #07400C
monochromatic
#12031C #12031C #290740 #4C0D77 #7013AE

Accessibility & contrast

On white

17.52
#290740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290740
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290740#FFFFFF#000000##FFFFFF
##2907401.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001842
Deuteranopia (green-blind)
#001A3F
Tritanopia (blue-blind)
#251623
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #290740;
/* rgb */ color: rgb(41, 7, 64);
/* oklch */ color: oklch(22.8% 0.101 307.0);
Tailwind
colors: {
  custom: {
    50: '#664b75',
    500: '#290740',
    950: '#000000',
  },
}
SCSS
$custom: #290740;
$custom-light: #664b75;
$custom-dark: #000000;
JSON
{
  "hex": "#290740",
  "rgb": {
    "r": 41,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 275.789,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22797,
    "c": 0.10093,
    "h": 307
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#290740
secondary
#497F24
accent
#F73181
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #290740

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

Preview Lab → · Contrast checker → · Palette generator →

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