#290F4C#290F4C

#290F4C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.105 H 297.6°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#290F4C
RGBrgb(41, 15, 76)
HSLhsl(266, 67%, 18%)
HSVhsv(266, 80%, 30%)
CMYKcmyk(46.1%, 80.3%, 0%, 70.2%)
CIE-LABlab(11.52, 27.87, -32.55)
CIE-LCHlch(11.52, 42.85, 310.56°)
OKLaboklab(24.97% 0.0488 -0.0931)
OKLCHoklch(24.97% 0.105 297.6)
XYZxyz(2.3894, 1.3348, 6.9678)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F4C #324C0F
analogous
#0F134C #290F4C #470F4C
triadic
#290F4C #4C290F #0F4C29
tetradic
#290F4C #4C0F13 #324C0F #0F4C47
square
#290F4C #4C0F13 #324C0F #0F4C47
split-complementary
#290F4C #4C470F #134C0F
monochromatic
#0E051A #0E051A #290F4C #45197F #6023B2

Accessibility & contrast

On white

16.57
#290F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290F4C
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F4C#FFFFFF#000000##FFFFFF
##290F4C1.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#001E4B
Tritanopia (blue-blind)
#201F2C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #290f4c;
/* rgb */ color: rgb(41, 15, 76);
/* oklch */ color: oklch(25.0% 0.105 297.6);
Tailwind
colors: {
  custom: {
    50: '#67507f',
    500: '#290f4c',
    950: '#000000',
  },
}
SCSS
$custom: #290f4c;
$custom-light: #67507f;
$custom-dark: #000000;
JSON
{
  "hex": "#290f4c",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 265.574,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24967,
    "c": 0.10508,
    "h": 297.6
  },
  "luminance": 0.01335
}

Semantic roles & 50–950 ramp

primary
#290F4C
secondary
#628631
accent
#EA3EA1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #290F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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