#290F3C#290F3C

#290F3C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.084 H 307.7°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#290F3C
RGBrgb(41, 15, 60)
HSLhsl(275, 60%, 15%)
HSVhsv(275, 75%, 24%)
CMYKcmyk(31.7%, 75%, 0%, 76.5%)
CIE-LABlab(10.10, 23.21, -23.60)
CIE-LCHlch(10.10, 33.10, 314.52°)
OKLaboklab(23.51% 0.0516 -0.0667)
OKLCHoklch(23.51% 0.084 307.7)
XYZxyz(1.9007, 1.1393, 4.3939)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F3C #223C0F
analogous
#130F3C #290F3C #3C0F39
triadic
#290F3C #3C290F #0F3C29
tetradic
#290F3C #3C130F #223C0F #0F393C
square
#290F3C #3C130F #223C0F #0F393C
split-complementary
#290F3C #393C0F #0F3C13
monochromatic
#110618 #110618 #290F3C #4A1B6D #6C279E

Accessibility & contrast

On white

17.10
#290F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#290F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F3C
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F3C#FFFFFF#000000##FFFFFF
##290F3C1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#061C3B
Tritanopia (blue-blind)
#261823
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #290f3c;
/* rgb */ color: rgb(41, 15, 60);
/* oklch */ color: oklch(23.5% 0.084 307.7);
Tailwind
colors: {
  custom: {
    50: '#654f72',
    500: '#290f3c',
    950: '#000000',
  },
}
SCSS
$custom: #290f3c;
$custom-light: #654f72;
$custom-dark: #000000;
JSON
{
  "hex": "#290f3c",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 274.667,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23513,
    "c": 0.08437,
    "h": 307.7
  },
  "luminance": 0.01139
}

Semantic roles & 50–950 ramp

primary
#290F3C
secondary
#4E7630
accent
#E34588
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #290F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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