#290338#290338

#290338 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.099 H 314.0°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#290338
RGBrgb(41, 3, 56)
HSLhsl(283, 90%, 12%)
HSVhsv(283, 95%, 22%)
CMYKcmyk(26.8%, 94.6%, 0%, 78%)
CIE-LABlab(7.43, 28.77, -25.04)
CIE-LCHlch(7.43, 38.14, 318.97°)
OKLaboklab(21.5% 0.0684 -0.0709)
OKLCHoklch(21.5% 0.099 314)
XYZxyz(1.6607, 0.8221, 3.8118)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290338 #123803
analogous
#0F0338 #290338 #38032D
triadic
#290338 #382903 #033829
tetradic
#290338 #380F03 #123803 #032D38
square
#290338 #380F03 #123803 #032D38
split-complementary
#290338 #2D3803 #03380F
monochromatic
#15021D #15021D #290338 #540672 #7E09AC

Accessibility & contrast

On white

18.04
#290338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#290338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290338
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290338#FFFFFF#000000##FFFFFF
##2903381.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#001737
Tritanopia (blue-blind)
#270F1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #290338;
/* rgb */ color: rgb(41, 3, 56);
/* oklch */ color: oklch(21.5% 0.099 314.0);
Tailwind
colors: {
  custom: {
    50: '#66486f',
    500: '#290338',
    950: '#000000',
  },
}
SCSS
$custom: #290338;
$custom-light: #66486f;
$custom-dark: #000000;
JSON
{
  "hex": "#290338",
  "rgb": {
    "r": 41,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 283.019,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21497,
    "c": 0.09857,
    "h": 314
  },
  "luminance": 0.00822
}

Semantic roles & 50–950 ramp

primary
#290338
secondary
#377B1C
accent
#FF2965
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #290338

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

Preview Lab → · Contrast checker → · Palette generator →

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