#290F56#290F56

#290F56 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.118 H 293.0°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#290F56
RGBrgb(41, 15, 86)
HSLhsl(262, 70%, 20%)
HSVhsv(262, 83%, 34%)
CMYKcmyk(52.3%, 82.6%, 0%, 66.3%)
CIE-LABlab(12.51, 30.87, -37.78)
CIE-LCHlch(12.51, 48.79, 309.25°)
OKLaboklab(25.97% 0.0459 -0.1084)
OKLCHoklch(25.97% 0.118 293)
XYZxyz(2.7645, 1.4849, 8.9432)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F56 #3C560F
analogous
#0F1856 #290F56 #4D0F56
triadic
#290F56 #56290F #0F5629
tetradic
#290F56 #560F18 #3C560F #0F564D
square
#290F56 #560F18 #3C560F #0F564D
split-complementary
#290F56 #564D0F #18560F
monochromatic
#0C051A #100622 #290F56 #42188A #5B21BE

Accessibility & contrast

On white

16.19
#290F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#290F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F56
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F56#FFFFFF#000000##FFFFFF
##290F561.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#1B2332
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #290f56;
/* rgb */ color: rgb(41, 15, 86);
/* oklch */ color: oklch(26.0% 0.118 293.0);
Tailwind
colors: {
  custom: {
    50: '#695186',
    500: '#290f56',
    950: '#000000',
  },
}
SCSS
$custom: #290f56;
$custom-light: #695186;
$custom-dark: #000000;
JSON
{
  "hex": "#290f56",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 261.972,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25973,
    "c": 0.11774,
    "h": 293
  },
  "luminance": 0.01485
}

Semantic roles & 50–950 ramp

primary
#290F56
secondary
#6D9031
accent
#ED3BAC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #290F56

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

Preview Lab → · Contrast checker → · Palette generator →

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