#290F4F#290F4F

#290F4F is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.109 H 296.1°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#290F4F
RGBrgb(41, 15, 79)
HSLhsl(264, 68%, 18%)
HSVhsv(264, 81%, 31%)
CMYKcmyk(48.1%, 81%, 0%, 69%)
CIE-LABlab(11.81, 28.76, -34.15)
CIE-LCHlch(11.81, 44.65, 310.11°)
OKLaboklab(25.26% 0.048 -0.0978)
OKLCHoklch(25.26% 0.109 296.1)
XYZxyz(2.4962, 1.3775, 7.5300)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F4F #354F0F
analogous
#0F154F #290F4F #490F4F
triadic
#290F4F #4F290F #0F4F29
tetradic
#290F4F #4F0F15 #354F0F #0F4F49
square
#290F4F #4F0F15 #354F0F #0F4F49
split-complementary
#290F4F #4F490F #154F0F
monochromatic
#0D051A #0E051C #290F4F #441982 #5E23B6

Accessibility & contrast

On white

16.46
#290F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#290F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F4F
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F4F#FFFFFF#000000##FFFFFF
##290F4F1.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#1F202E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #290f4f;
/* rgb */ color: rgb(41, 15, 79);
/* oklch */ color: oklch(25.3% 0.109 296.1);
Tailwind
colors: {
  custom: {
    50: '#675081',
    500: '#290f4f',
    950: '#000000',
  },
}
SCSS
$custom: #290f4f;
$custom-light: #675081;
$custom-dark: #000000;
JSON
{
  "hex": "#290f4f",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 264.375,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25262,
    "c": 0.1089,
    "h": 296.1
  },
  "luminance": 0.01378
}

Semantic roles & 50–950 ramp

primary
#290F4F
secondary
#658931
accent
#EB3DA4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #290F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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