#290F52#290F52

#290F52 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.113 H 294.7°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#290F52
RGBrgb(41, 15, 82)
HSLhsl(263, 69%, 19%)
HSVhsv(263, 82%, 32%)
CMYKcmyk(50%, 81.7%, 0%, 67.8%)
CIE-LABlab(12.10, 29.67, -35.72)
CIE-LCHlch(12.10, 46.43, 309.71°)
OKLaboklab(25.56% 0.0471 -0.1024)
OKLCHoklch(25.56% 0.113 294.7)
XYZxyz(2.6079, 1.4222, 8.1181)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F52 #38520F
analogous
#0F1752 #290F52 #4B0F52
triadic
#290F52 #52290F #0F5229
tetradic
#290F52 #520F17 #38520F #0F524B
square
#290F52 #520F17 #38520F #0F524B
split-complementary
#290F52 #524B0F #17520F
monochromatic
#0D051A #0F061E #290F52 #431886 #5D22B9

Accessibility & contrast

On white

16.35
#290F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#290F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F52
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F52#FFFFFF#000000##FFFFFF
##290F521.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002054
Deuteranopia (green-blind)
#001F51
Tritanopia (blue-blind)
#1D2130
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #290f52;
/* rgb */ color: rgb(41, 15, 82);
/* oklch */ color: oklch(25.6% 0.113 294.7);
Tailwind
colors: {
  custom: {
    50: '#685083',
    500: '#290f52',
    950: '#000000',
  },
}
SCSS
$custom: #290f52;
$custom-light: #685083;
$custom-dark: #000000;
JSON
{
  "hex": "#290f52",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 263.284,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25563,
    "c": 0.11271,
    "h": 294.7
  },
  "luminance": 0.01422
}

Semantic roles & 50–950 ramp

primary
#290F52
secondary
#698C31
accent
#EC3CA8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #290F52

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

Preview Lab → · Contrast checker → · Palette generator →

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