#290948#290948

#290948 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.108 H 301.4°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#290948
RGBrgb(41, 9, 72)
HSLhsl(270, 78%, 16%)
HSVhsv(270, 88%, 28%)
CMYKcmyk(43.1%, 87.5%, 0%, 71.8%)
CIE-LABlab(10.07, 29.74, -32.14)
CIE-LCHlch(10.07, 43.79, 312.78°)
OKLaboklab(23.83% 0.056 -0.0918)
OKLCHoklch(23.83% 0.108 301.4)
XYZxyz(2.1816, 1.1347, 6.2337)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290948 #284809
analogous
#090948 #290948 #480947
triadic
#290948 #482909 #094829
tetradic
#290948 #480909 #284809 #094748
square
#290948 #480909 #284809 #094748
split-complementary
#290948 #474809 #094809
monochromatic
#0F031B #0F031B #290948 #48107E #6717B5

Accessibility & contrast

On white

17.11
#290948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#290948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290948
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290948#FFFFFF#000000##FFFFFF
##2909481.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#221A28
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #290948;
/* rgb */ color: rgb(41, 9, 72);
/* oklch */ color: oklch(23.8% 0.108 301.4);
Tailwind
colors: {
  custom: {
    50: '#674d7c',
    500: '#290948',
    950: '#000000',
  },
}
SCSS
$custom: #290948;
$custom-light: #674d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#290948",
  "rgb": {
    "r": 41,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 270.476,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23827,
    "c": 0.10757,
    "h": 301.4
  },
  "luminance": 0.01135
}

Semantic roles & 50–950 ramp

primary
#290948
secondary
#568527
accent
#F43492
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #290948

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

Preview Lab → · Contrast checker → · Palette generator →

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