#290F55#290F55

#290F55 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.116 H 293.4°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#290F55
RGBrgb(41, 15, 85)
HSLhsl(262, 70%, 20%)
HSVhsv(262, 82%, 33%)
CMYKcmyk(51.8%, 82.4%, 0%, 66.7%)
CIE-LABlab(12.41, 30.57, -37.27)
CIE-LCHlch(12.41, 48.20, 309.36°)
OKLaboklab(25.87% 0.0462 -0.1069)
OKLCHoklch(25.87% 0.116 293.4)
XYZxyz(2.7245, 1.4689, 8.7325)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F55 #3B550F
analogous
#0F1855 #290F55 #4C0F55
triadic
#290F55 #55290F #0F5529
tetradic
#290F55 #550F18 #3B550F #0F554C
square
#290F55 #550F18 #3B550F #0F554C
split-complementary
#290F55 #554C0F #18550F
monochromatic
#0D051A #100621 #290F55 #421889 #5B21BD

Accessibility & contrast

On white

16.23
#290F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290F55
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F55#FFFFFF#000000##FFFFFF
##290F551.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001F54
Tritanopia (blue-blind)
#1B2231
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #290f55;
/* rgb */ color: rgb(41, 15, 85);
/* oklch */ color: oklch(25.9% 0.116 293.4);
Tailwind
colors: {
  custom: {
    50: '#685086',
    500: '#290f55',
    950: '#000000',
  },
}
SCSS
$custom: #290f55;
$custom-light: #685086;
$custom-dark: #000000;
JSON
{
  "hex": "#290f55",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 262.286,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25869,
    "c": 0.11649,
    "h": 293.4
  },
  "luminance": 0.01469
}

Semantic roles & 50–950 ramp

primary
#290F55
secondary
#6C8F31
accent
#ED3BAB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #290F55

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

Preview Lab → · Contrast checker → · Palette generator →

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