#290F39#290F39

#290F39 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.080 H 310.1°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#290F39
RGBrgb(41, 15, 57)
HSLhsl(277, 58%, 14%)
HSVhsv(277, 74%, 22%)
CMYKcmyk(28.1%, 73.7%, 0%, 77.6%)
CIE-LABlab(9.86, 22.37, -21.83)
CIE-LCHlch(9.86, 31.26, 315.71°)
OKLaboklab(23.27% 0.0518 -0.0615)
OKLCHoklch(23.27% 0.08 310.1)
XYZxyz(1.8237, 1.1085, 3.9880)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F39 #1F390F
analogous
#140F39 #290F39 #390F34
triadic
#290F39 #39290F #0F3929
tetradic
#290F39 #39140F #1F390F #0F3439
square
#290F39 #39140F #1F390F #0F3439
split-complementary
#290F39 #34390F #0F3914
monochromatic
#110618 #110618 #290F39 #4C1C69 #6F299A

Accessibility & contrast

On white

17.19
#290F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#290F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F39
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F39#FFFFFF#000000##FFFFFF
##290F391.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3A
Deuteranopia (green-blind)
#0A1C38
Tritanopia (blue-blind)
#271722
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #290f39;
/* rgb */ color: rgb(41, 15, 57);
/* oklch */ color: oklch(23.3% 0.080 310.1);
Tailwind
colors: {
  custom: {
    50: '#654f70',
    500: '#290f39',
    950: '#000000',
  },
}
SCSS
$custom: #290f39;
$custom-light: #654f70;
$custom-dark: #000000;
JSON
{
  "hex": "#290f39",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 277.143,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23265,
    "c": 0.08045,
    "h": 310.1
  },
  "luminance": 0.01108
}

Semantic roles & 50–950 ramp

primary
#290F39
secondary
#4A7330
accent
#E24681
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #290F39

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

Preview Lab → · Contrast checker → · Palette generator →

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