#290F40#290F40

#290F40 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.090 H 304.8°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#290F40
RGBrgb(41, 15, 64)
HSLhsl(272, 62%, 15%)
HSVhsv(272, 77%, 25%)
CMYKcmyk(35.9%, 76.6%, 0%, 74.9%)
CIE-LABlab(10.43, 24.34, -25.91)
CIE-LCHlch(10.43, 35.55, 313.21°)
OKLaboklab(23.86% 0.0511 -0.0735)
OKLCHoklch(23.86% 0.09 304.8)
XYZxyz(2.0105, 1.1832, 4.9720)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F40 #26400F
analogous
#110F40 #290F40 #400F3E
triadic
#290F40 #40290F #0F4029
tetradic
#290F40 #40110F #26400F #0F3E40
square
#290F40 #40110F #26400F #0F3E40
split-complementary
#290F40 #3E400F #0F4011
monochromatic
#100619 #100619 #290F40 #491B72 #6926A3

Accessibility & contrast

On white

16.98
#290F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#290F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F40
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F40#FFFFFF#000000##FFFFFF
##290F401.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#021C3F
Tritanopia (blue-blind)
#251A26
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #290f40;
/* rgb */ color: rgb(41, 15, 64);
/* oklch */ color: oklch(23.9% 0.090 304.8);
Tailwind
colors: {
  custom: {
    50: '#654f75',
    500: '#290f40',
    950: '#000000',
  },
}
SCSS
$custom: #290f40;
$custom-light: #654f75;
$custom-dark: #000000;
JSON
{
  "hex": "#290f40",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 271.837,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23856,
    "c": 0.08958,
    "h": 304.8
  },
  "luminance": 0.01183
}

Semantic roles & 50–950 ramp

primary
#290F40
secondary
#537A30
accent
#E5438F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #290F40

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

Preview Lab → · Contrast checker → · Palette generator →

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