#290F4D#290F4D

#290F4D is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.1% C 0.106 H 297.1°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#290F4D
RGBrgb(41, 15, 77)
HSLhsl(265, 67%, 18%)
HSVhsv(265, 81%, 30%)
CMYKcmyk(46.8%, 80.5%, 0%, 69.8%)
CIE-LABlab(11.61, 28.17, -33.09)
CIE-LCHlch(11.61, 43.45, 310.40°)
OKLaboklab(25.06% 0.0485 -0.0946)
OKLCHoklch(25.06% 0.106 297.1)
XYZxyz(2.4245, 1.3488, 7.1524)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F4D #334D0F
analogous
#0F144D #290F4D #480F4D
triadic
#290F4D #4D290F #0F4D29
tetradic
#290F4D #4D0F14 #334D0F #0F4D48
square
#290F4D #4D0F14 #334D0F #0F4D48
split-complementary
#290F4D #4D480F #144D0F
monochromatic
#0E051A #0E051A #290F4D #441980 #6023B3

Accessibility & contrast

On white

16.54
#290F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#290F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F4D
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F4D#FFFFFF#000000##FFFFFF
##290F4D1.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4F
Deuteranopia (green-blind)
#001E4C
Tritanopia (blue-blind)
#201F2D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #290f4d;
/* rgb */ color: rgb(41, 15, 77);
/* oklch */ color: oklch(25.1% 0.106 297.1);
Tailwind
colors: {
  custom: {
    50: '#67507f',
    500: '#290f4d',
    950: '#000000',
  },
}
SCSS
$custom: #290f4d;
$custom-light: #67507f;
$custom-dark: #000000;
JSON
{
  "hex": "#290f4d",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 265.161,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25064,
    "c": 0.10635,
    "h": 297.1
  },
  "luminance": 0.01349
}

Semantic roles & 50–950 ramp

primary
#290F4D
secondary
#638731
accent
#EA3EA2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #290F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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