#290C51#290C51

#290C51 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.1% C 0.115 H 295.9°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#290C51
RGBrgb(41, 12, 81)
HSLhsl(265, 74%, 18%)
HSVhsv(265, 85%, 32%)
CMYKcmyk(49.4%, 85.2%, 0%, 68.2%)
CIE-LABlab(11.47, 30.89, -36.07)
CIE-LCHlch(11.47, 47.49, 310.57°)
OKLaboklab(25.09% 0.0503 -0.1034)
OKLCHoklch(25.09% 0.115 295.9)
XYZxyz(2.5307, 1.3284, 7.9061)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290C51 #34510C
analogous
#0C1151 #290C51 #4B0C51
triadic
#290C51 #51290C #0C5129
tetradic
#290C51 #510C11 #34510C #0C514B
square
#290C51 #510C11 #34510C #0C514B
split-complementary
#290C51 #514B0C #11510C
monochromatic
#0D041B #0E041C #290C51 #441486 #5F1CBC

Accessibility & contrast

On white

16.59
#290C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#290C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290C51
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290C51#FFFFFF#000000##FFFFFF
##290C511.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F53
Deuteranopia (green-blind)
#001D50
Tritanopia (blue-blind)
#1E1F2E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #290c51;
/* rgb */ color: rgb(41, 12, 81);
/* oklch */ color: oklch(25.1% 0.115 295.9);
Tailwind
colors: {
  custom: {
    50: '#684f83',
    500: '#290c51',
    950: '#000000',
  },
}
SCSS
$custom: #290c51;
$custom-light: #684f83;
$custom-dark: #000000;
JSON
{
  "hex": "#290c51",
  "rgb": {
    "r": 41,
    "g": 12,
    "b": 81
  },
  "hsl": {
    "h": 265.217,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25089,
    "c": 0.11495,
    "h": 295.9
  },
  "luminance": 0.01328
}

Semantic roles & 50–950 ramp

primary
#290C51
secondary
#648C2C
accent
#F137A3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #290C51

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

Preview Lab → · Contrast checker → · Palette generator →

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