#290E40#290E40

#290E40 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.7% C 0.091 H 305.1°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#290E40
RGBrgb(41, 14, 64)
HSLhsl(272, 64%, 15%)
HSVhsv(272, 78%, 25%)
CMYKcmyk(35.9%, 78.1%, 0%, 74.9%)
CIE-LABlab(10.23, 24.92, -26.25)
CIE-LCHlch(10.23, 36.19, 313.51°)
OKLaboklab(23.71% 0.0525 -0.0745)
OKLCHoklch(23.71% 0.091 305.1)
XYZxyz(1.9967, 1.1557, 4.9674)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290E40 #25400E
analogous
#100E40 #290E40 #400E3E
triadic
#290E40 #40290E #0E4029
tetradic
#290E40 #40100E #25400E #0E3E40
square
#290E40 #40100E #25400E #0E3E40
split-complementary
#290E40 #3E400E #0E4010
monochromatic
#100519 #100519 #290E40 #491972 #6924A4

Accessibility & contrast

On white

17.06
#290E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290E40
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290E40#FFFFFF#000000##FFFFFF
##290E401.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#011C3F
Tritanopia (blue-blind)
#251925
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #290e40;
/* rgb */ color: rgb(41, 14, 64);
/* oklch */ color: oklch(23.7% 0.091 305.1);
Tailwind
colors: {
  custom: {
    50: '#654f75',
    500: '#290e40',
    950: '#000000',
  },
}
SCSS
$custom: #290e40;
$custom-light: #654f75;
$custom-dark: #000000;
JSON
{
  "hex": "#290e40",
  "rgb": {
    "r": 41,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 272.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23708,
    "c": 0.09114,
    "h": 305.1
  },
  "luminance": 0.01156
}

Semantic roles & 50–950 ramp

primary
#290E40
secondary
#527B2F
accent
#E7418D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #290E40

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

Preview Lab → · Contrast checker → · Palette generator →

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