#290742#290742

#290742 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.103 H 305.6°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#290742
RGBrgb(41, 7, 66)
HSLhsl(275, 81%, 14%)
HSVhsv(275, 89%, 26%)
CMYKcmyk(37.9%, 89.4%, 0%, 74.1%)
CIE-LABlab(9.13, 29.11, -29.45)
CIE-LCHlch(9.13, 41.41, 314.67°)
OKLaboklab(22.99% 0.0601 -0.0839)
OKLCHoklch(22.99% 0.103 305.6)
XYZxyz(1.9736, 1.0167, 5.2455)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290742 #204207
analogous
#0B0742 #290742 #42073E
triadic
#290742 #422907 #074229
tetradic
#290742 #420B07 #204207 #073E42
square
#290742 #420B07 #204207 #073E42
split-complementary
#290742 #3E4207 #07420B
monochromatic
#11031C #11031C #290742 #4B0D79 #6E13B1

Accessibility & contrast

On white

17.45
#290742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290742
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290742#FFFFFF#000000##FFFFFF
##2907421.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001944
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#241625
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #290742;
/* rgb */ color: rgb(41, 7, 66);
/* oklch */ color: oklch(23.0% 0.103 305.6);
Tailwind
colors: {
  custom: {
    50: '#664b77',
    500: '#290742',
    950: '#000000',
  },
}
SCSS
$custom: #290742;
$custom-light: #664b77;
$custom-dark: #000000;
JSON
{
  "hex": "#290742",
  "rgb": {
    "r": 41,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 274.576,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22991,
    "c": 0.1032,
    "h": 305.6
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#290742
secondary
#4B8124
accent
#F73185
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #290742

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

Preview Lab → · Contrast checker → · Palette generator →

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