#290F58#290F58

#290F58 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.2% C 0.120 H 292.1°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#290F58
RGBrgb(41, 15, 88)
HSLhsl(261, 71%, 20%)
HSVhsv(261, 83%, 35%)
CMYKcmyk(53.4%, 83%, 0%, 65.5%)
CIE-LABlab(12.72, 31.48, -38.80)
CIE-LCHlch(12.72, 49.96, 309.06°)
OKLaboklab(26.18% 0.0453 -0.1114)
OKLCHoklch(26.18% 0.12 292.1)
XYZxyz(2.8462, 1.5175, 9.3736)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F58 #3E580F
analogous
#0F1958 #290F58 #4D0F58
triadic
#290F58 #58290F #0F5829
tetradic
#290F58 #580F19 #3E580F #0F584D
square
#290F58 #580F19 #3E580F #0F584D
split-complementary
#290F58 #584D0F #19580F
monochromatic
#0C041A #110624 #290F58 #41188C #5A21C1

Accessibility & contrast

On white

16.11
#290F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290F58
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F58#FFFFFF#000000##FFFFFF
##290F581.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#001F57
Tritanopia (blue-blind)
#1A2333
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #290f58;
/* rgb */ color: rgb(41, 15, 88);
/* oklch */ color: oklch(26.2% 0.120 292.1);
Tailwind
colors: {
  custom: {
    50: '#695188',
    500: '#290f58',
    950: '#000000',
  },
}
SCSS
$custom: #290f58;
$custom-light: #695188;
$custom-dark: #000000;
JSON
{
  "hex": "#290f58",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 261.37,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26182,
    "c": 0.12024,
    "h": 292.1
  },
  "luminance": 0.01518
}

Semantic roles & 50–950 ramp

primary
#290F58
secondary
#6F9231
accent
#EE3AAE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #290F58

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

Preview Lab → · Contrast checker → · Palette generator →

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