#290F3F#290F3F

#290F3F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.088 H 305.5°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#290F3F
RGBrgb(41, 15, 63)
HSLhsl(273, 62%, 15%)
HSVhsv(273, 76%, 25%)
CMYKcmyk(34.9%, 76.2%, 0%, 75.3%)
CIE-LABlab(10.35, 24.06, -25.34)
CIE-LCHlch(10.35, 34.94, 313.51°)
OKLaboklab(23.77% 0.0513 -0.0719)
OKLCHoklch(23.77% 0.088 305.5)
XYZxyz(1.9823, 1.1720, 4.8234)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F3F #253F0F
analogous
#110F3F #290F3F #3F0F3D
triadic
#290F3F #3F290F #0F3F29
tetradic
#290F3F #3F110F #253F0F #0F3D3F
square
#290F3F #3F110F #253F0F #0F3D3F
split-complementary
#290F3F #3D3F0F #0F3F11
monochromatic
#100619 #100619 #290F3F #491B70 #6927A2

Accessibility & contrast

On white

17.01
#290F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290F3F
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F3F#FFFFFF#000000##FFFFFF
##290F3F1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#031C3E
Tritanopia (blue-blind)
#251A25
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #290f3f;
/* rgb */ color: rgb(41, 15, 63);
/* oklch */ color: oklch(23.8% 0.088 305.5);
Tailwind
colors: {
  custom: {
    50: '#654f74',
    500: '#290f3f',
    950: '#000000',
  },
}
SCSS
$custom: #290f3f;
$custom-light: #654f74;
$custom-dark: #000000;
JSON
{
  "hex": "#290f3f",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 272.5,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23768,
    "c": 0.08828,
    "h": 305.5
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#290F3F
secondary
#527930
accent
#E5438D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #290F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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