#290749#290749

#290749 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.111 H 301.3°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#290749
RGBrgb(41, 7, 73)
HSLhsl(271, 83%, 16%)
HSVhsv(271, 90%, 29%)
CMYKcmyk(43.8%, 90.4%, 0%, 71.4%)
CIE-LABlab(9.83, 30.99, -33.22)
CIE-LCHlch(9.83, 45.43, 313.01°)
OKLaboklab(23.7% 0.0577 -0.095)
OKLCHoklch(23.7% 0.111 301.3)
XYZxyz(2.1927, 1.1044, 6.3997)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290749 #274907
analogous
#080749 #290749 #490748
triadic
#290749 #492907 #074929
tetradic
#290749 #490807 #274907 #074849
square
#290749 #490807 #274907 #074849
split-complementary
#290749 #484907 #074908
monochromatic
#10031C #10031C #290749 #480C81 #6812B9

Accessibility & contrast

On white

17.20
#290749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#290749 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290749
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290749#FFFFFF#000000##FFFFFF
##2907491.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4B
Deuteranopia (green-blind)
#001B48
Tritanopia (blue-blind)
#221A29
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #290749;
/* rgb */ color: rgb(41, 7, 73);
/* oklch */ color: oklch(23.7% 0.111 301.3);
Tailwind
colors: {
  custom: {
    50: '#674c7c',
    500: '#290749',
    950: '#000000',
  },
}
SCSS
$custom: #290749;
$custom-light: #674c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#290749",
  "rgb": {
    "r": 41,
    "g": 7,
    "b": 73
  },
  "hsl": {
    "h": 270.909,
    "s": 82.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23696,
    "c": 0.11112,
    "h": 301.3
  },
  "luminance": 0.01104
}

Semantic roles & 50–950 ramp

primary
#290749
secondary
#548824
accent
#F92F91
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #290749

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

Preview Lab → · Contrast checker → · Palette generator →

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