#290C4B#290C4B

#290C4B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.5% C 0.108 H 299.0°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#290C4B
RGBrgb(41, 12, 75)
HSLhsl(268, 72%, 17%)
HSVhsv(268, 84%, 29%)
CMYKcmyk(45.3%, 84%, 0%, 70.6%)
CIE-LABlab(10.87, 29.15, -32.92)
CIE-LCHlch(10.87, 43.97, 311.52°)
OKLaboklab(24.48% 0.0522 -0.0941)
OKLCHoklch(24.48% 0.108 299)
XYZxyz(2.3156, 1.2423, 6.7730)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290C4B #2E4B0C
analogous
#0C0F4B #290C4B #490C4B
triadic
#290C4B #4B290C #0C4B29
tetradic
#290C4B #4B0C0F #2E4B0C #0C4B49
square
#290C4B #4B0C0F #2E4B0C #0C4B49
split-complementary
#290C4B #4B490C #0F4B0C
monochromatic
#0E041A #0E041A #290C4B #461480 #631DB5

Accessibility & contrast

On white

16.82
#290C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#290C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290C4B
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290C4B#FFFFFF#000000##FFFFFF
##290C4B1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4D
Deuteranopia (green-blind)
#001D4A
Tritanopia (blue-blind)
#211D2B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #290c4b;
/* rgb */ color: rgb(41, 12, 75);
/* oklch */ color: oklch(24.5% 0.108 299.0);
Tailwind
colors: {
  custom: {
    50: '#674e7e',
    500: '#290c4b',
    950: '#000000',
  },
}
SCSS
$custom: #290c4b;
$custom-light: #674e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#290c4b",
  "rgb": {
    "r": 41,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 267.619,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24478,
    "c": 0.10763,
    "h": 299
  },
  "luminance": 0.01242
}

Semantic roles & 50–950 ramp

primary
#290C4B
secondary
#5D872C
accent
#EF399B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #290C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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