#290F54#290F54

#290F54 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.115 H 293.8°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#290F54
RGBrgb(41, 15, 84)
HSLhsl(263, 70%, 19%)
HSVhsv(263, 82%, 33%)
CMYKcmyk(51.2%, 82.1%, 0%, 67.1%)
CIE-LABlab(12.31, 30.27, -36.76)
CIE-LCHlch(12.31, 47.61, 309.47°)
OKLaboklab(25.77% 0.0465 -0.1054)
OKLCHoklch(25.77% 0.115 293.8)
XYZxyz(2.6851, 1.4531, 8.5248)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F54 #3A540F
analogous
#0F1754 #290F54 #4C0F54
triadic
#290F54 #54290F #0F5429
tetradic
#290F54 #540F17 #3A540F #0F544C
square
#290F54 #540F17 #3A540F #0F544C
split-complementary
#290F54 #544C0F #17540F
monochromatic
#0D051A #100620 #290F54 #421888 #5C22BC

Accessibility & contrast

On white

16.27
#290F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#290F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F54
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F54#FFFFFF#000000##FFFFFF
##290F541.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002156
Deuteranopia (green-blind)
#001F53
Tritanopia (blue-blind)
#1C2231
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #290f54;
/* rgb */ color: rgb(41, 15, 84);
/* oklch */ color: oklch(25.8% 0.115 293.8);
Tailwind
colors: {
  custom: {
    50: '#685085',
    500: '#290f54',
    950: '#000000',
  },
}
SCSS
$custom: #290f54;
$custom-light: #685085;
$custom-dark: #000000;
JSON
{
  "hex": "#290f54",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 262.609,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25767,
    "c": 0.11522,
    "h": 293.8
  },
  "luminance": 0.01453
}

Semantic roles & 50–950 ramp

primary
#290F54
secondary
#6B8E31
accent
#ED3BAA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #290F54

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

Preview Lab → · Contrast checker → · Palette generator →

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