#290F51#290F51

#290F51 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.111 H 295.2°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#290F51
RGBrgb(41, 15, 81)
HSLhsl(264, 69%, 19%)
HSVhsv(264, 81%, 32%)
CMYKcmyk(49.4%, 81.5%, 0%, 68.2%)
CIE-LABlab(12.00, 29.36, -35.20)
CIE-LCHlch(12.00, 45.84, 309.84°)
OKLaboklab(25.46% 0.0474 -0.1008)
OKLCHoklch(25.46% 0.111 295.2)
XYZxyz(2.5701, 1.4071, 7.9192)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F51 #37510F
analogous
#0F1651 #290F51 #4A0F51
triadic
#290F51 #51290F #0F5129
tetradic
#290F51 #510F16 #37510F #0F514A
square
#290F51 #510F16 #37510F #0F514A
split-complementary
#290F51 #514A0F #16510F
monochromatic
#0D051A #0F051D #290F51 #431985 #5D22B8

Accessibility & contrast

On white

16.39
#290F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#290F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F51
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F51#FFFFFF#000000##FFFFFF
##290F511.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002053
Deuteranopia (green-blind)
#001E50
Tritanopia (blue-blind)
#1E212F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #290f51;
/* rgb */ color: rgb(41, 15, 81);
/* oklch */ color: oklch(25.5% 0.111 295.2);
Tailwind
colors: {
  custom: {
    50: '#685082',
    500: '#290f51',
    950: '#000000',
  },
}
SCSS
$custom: #290f51;
$custom-light: #685082;
$custom-dark: #000000;
JSON
{
  "hex": "#290f51",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 263.636,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25462,
    "c": 0.11144,
    "h": 295.2
  },
  "luminance": 0.01407
}

Semantic roles & 50–950 ramp

primary
#290F51
secondary
#678B31
accent
#EC3CA7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #290F51

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

Preview Lab → · Contrast checker → · Palette generator →

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