#290F68#290F68

#290F68 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.140 H 286.5°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#290F68
RGBrgb(41, 15, 104)
HSLhsl(258, 75%, 23%)
HSVhsv(258, 86%, 41%)
CMYKcmyk(60.6%, 85.6%, 0%, 59.2%)
CIE-LABlab(14.47, 36.32, -46.59)
CIE-LCHlch(14.47, 59.07, 307.94°)
OKLaboklab(27.93% 0.0397 -0.1342)
OKLCHoklch(27.93% 0.14 286.5)
XYZxyz(3.5832, 1.8123, 13.2550)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F68 #4E680F
analogous
#0F2168 #290F68 #550F68
triadic
#290F68 #68290F #0F6829
tetradic
#290F68 #680F21 #4E680F #0F6855
square
#290F68 #680F21 #4E680F #0F6855
split-complementary
#290F68 #68550F #21680F
monochromatic
#0B041B #140733 #290F68 #3E179D #531ED3

Accessibility & contrast

On white

15.41
#290F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#290F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F68
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F68#FFFFFF#000000##FFFFFF
##290F681.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#002266
Tritanopia (blue-blind)
#092A3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #290f68;
/* rgb */ color: rgb(41, 15, 104);
/* oklch */ color: oklch(27.9% 0.140 286.5);
Tailwind
colors: {
  custom: {
    50: '#6c5294',
    500: '#290f68',
    950: '#000000',
  },
}
SCSS
$custom: #290f68;
$custom-light: #6c5294;
$custom-dark: #000000;
JSON
{
  "hex": "#290f68",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 257.528,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27925,
    "c": 0.13992,
    "h": 286.5
  },
  "luminance": 0.01813
}

Semantic roles & 50–950 ramp

primary
#290F68
secondary
#80A132
accent
#F136BB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020D
muted
#7A787E

Preview Lab

Preview with #290F68

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

Preview Lab → · Contrast checker → · Palette generator →

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