#290F76#290F76

#290F76 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.5% C 0.157 H 282.7°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#290F76
RGBrgb(41, 15, 118)
HSLhsl(255, 77%, 26%)
HSVhsv(255, 87%, 46%)
CMYKcmyk(65.3%, 87.3%, 0%, 53.7%)
CIE-LABlab(16.11, 40.51, -53.00)
CIE-LCHlch(16.11, 66.71, 307.39°)
OKLaboklab(29.54% 0.0344 -0.1529)
OKLCHoklch(29.54% 0.157 282.7)
XYZxyz(4.3543, 2.1208, 17.3159)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F76 #5C760F
analogous
#0F2876 #290F76 #5C0F76
triadic
#290F76 #76290F #0F7629
tetradic
#290F76 #760F28 #5C760F #0F765C
square
#290F76 #760F28 #5C760F #0F765C
split-complementary
#290F76 #765C0F #28760F
monochromatic
#09031B #160840 #290F76 #3C16AC #4F1DE2

Accessibility & contrast

On white

14.75
#290F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#290F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F76
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F76#FFFFFF#000000##FFFFFF
##290F761.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003044
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #290f76;
/* rgb */ color: rgb(41, 15, 118);
/* oklch */ color: oklch(29.5% 0.157 282.7);
Tailwind
colors: {
  custom: {
    50: '#6f539f',
    500: '#290f76',
    950: '#000000',
  },
}
SCSS
$custom: #290f76;
$custom-light: #6f539f;
$custom-dark: #000000;
JSON
{
  "hex": "#290f76",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 255.146,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29536,
    "c": 0.15666,
    "h": 282.7
  },
  "luminance": 0.02121
}

Semantic roles & 50–950 ramp

primary
#290F76
secondary
#8FAD33
accent
#F434C3
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #290F76

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

Preview Lab → · Contrast checker → · Palette generator →

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