#290C4E#290C4E

#290C4E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.111 H 297.4°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#290C4E
RGBrgb(41, 12, 78)
HSLhsl(266, 73%, 18%)
HSVhsv(266, 85%, 31%)
CMYKcmyk(47.4%, 84.6%, 0%, 69.4%)
CIE-LABlab(11.17, 30.01, -34.51)
CIE-LCHlch(11.17, 45.74, 311.01°)
OKLaboklab(24.78% 0.0513 -0.0988)
OKLCHoklch(24.78% 0.111 297.4)
XYZxyz(2.4207, 1.2844, 7.3266)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290C4E #314E0C
analogous
#0C104E #290C4E #4A0C4E
triadic
#290C4E #4E290C #0C4E29
tetradic
#290C4E #4E0C10 #314E0C #0C4E4A
square
#290C4E #4E0C10 #314E0C #0C4E4A
split-complementary
#290C4E #4E4A0C #104E0C
monochromatic
#0E041B #0E041B #290C4E #451483 #611CB8

Accessibility & contrast

On white

16.71
#290C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290C4E
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290C4E#FFFFFF#000000##FFFFFF
##290C4E1.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E50
Deuteranopia (green-blind)
#001D4D
Tritanopia (blue-blind)
#1F1E2D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #290c4e;
/* rgb */ color: rgb(41, 12, 78);
/* oklch */ color: oklch(24.8% 0.111 297.4);
Tailwind
colors: {
  custom: {
    50: '#674e80',
    500: '#290c4e',
    950: '#000000',
  },
}
SCSS
$custom: #290c4e;
$custom-light: #674e80;
$custom-dark: #000000;
JSON
{
  "hex": "#290c4e",
  "rgb": {
    "r": 41,
    "g": 12,
    "b": 78
  },
  "hsl": {
    "h": 266.364,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24781,
    "c": 0.1113,
    "h": 297.4
  },
  "luminance": 0.01284
}

Semantic roles & 50–950 ramp

primary
#290C4E
secondary
#618A2C
accent
#F0389F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #290C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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