#290F48#290F48

#290F48 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.100 H 299.8°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#290F48
RGBrgb(41, 15, 72)
HSLhsl(267, 66%, 17%)
HSVhsv(267, 79%, 28%)
CMYKcmyk(43.1%, 79.2%, 0%, 71.8%)
CIE-LABlab(11.14, 26.68, -30.39)
CIE-LCHlch(11.14, 40.44, 311.28°)
OKLaboklab(24.58% 0.0497 -0.0867)
OKLCHoklch(24.58% 0.1 299.8)
XYZxyz(2.2547, 1.2809, 6.2581)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F48 #2E480F
analogous
#0F1248 #290F48 #460F48
triadic
#290F48 #48290F #0F4829
tetradic
#290F48 #480F12 #2E480F #0F4846
square
#290F48 #480F12 #2E480F #0F4846
split-complementary
#290F48 #48460F #12480F
monochromatic
#0E0519 #0E0519 #290F48 #461A7B #6324AD

Accessibility & contrast

On white

16.72
#290F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#290F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F48
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F48#FFFFFF#000000##FFFFFF
##290F481.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#001D47
Tritanopia (blue-blind)
#221D2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #290f48;
/* rgb */ color: rgb(41, 15, 72);
/* oklch */ color: oklch(24.6% 0.100 299.8);
Tailwind
colors: {
  custom: {
    50: '#66507b',
    500: '#290f48',
    950: '#000000',
  },
}
SCSS
$custom: #290f48;
$custom-light: #66507b;
$custom-dark: #000000;
JSON
{
  "hex": "#290f48",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 267.368,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24584,
    "c": 0.09994,
    "h": 299.8
  },
  "luminance": 0.01281
}

Semantic roles & 50–950 ramp

primary
#290F48
secondary
#5D8230
accent
#E83F9B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #290F48

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

Preview Lab → · Contrast checker → · Palette generator →

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