#290F41#290F41

#290F41 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.091 H 304.1°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#290F41
RGBrgb(41, 15, 65)
HSLhsl(271, 63%, 16%)
HSVhsv(271, 77%, 25%)
CMYKcmyk(36.9%, 76.9%, 0%, 74.5%)
CIE-LABlab(10.52, 24.63, -26.48)
CIE-LCHlch(10.52, 36.17, 312.93°)
OKLaboklab(23.94% 0.051 -0.0752)
OKLCHoklch(23.94% 0.091 304.1)
XYZxyz(2.0392, 1.1947, 5.1232)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F41 #27410F
analogous
#100F41 #290F41 #410F40
triadic
#290F41 #41290F #0F4129
tetradic
#290F41 #41100F #27410F #0F4041
square
#290F41 #41100F #27410F #0F4041
split-complementary
#290F41 #40410F #0F4110
monochromatic
#100619 #100619 #290F41 #481A73 #6826A4

Accessibility & contrast

On white

16.95
#290F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#290F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F41
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F41#FFFFFF#000000##FFFFFF
##290F411.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#011C40
Tritanopia (blue-blind)
#241A26
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #290f41;
/* rgb */ color: rgb(41, 15, 65);
/* oklch */ color: oklch(23.9% 0.091 304.1);
Tailwind
colors: {
  custom: {
    50: '#654f76',
    500: '#290f41',
    950: '#000000',
  },
}
SCSS
$custom: #290f41;
$custom-light: #654f76;
$custom-dark: #000000;
JSON
{
  "hex": "#290f41",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 271.2,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23944,
    "c": 0.09088,
    "h": 304.1
  },
  "luminance": 0.01195
}

Semantic roles & 50–950 ramp

primary
#290F41
secondary
#547B30
accent
#E64291
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #290F41

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

Preview Lab → · Contrast checker → · Palette generator →

#290F41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva