#290E8A#290E8A

#290E8A is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.9% C 0.181 H 278.6°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#290E8A
RGBrgb(41, 14, 138)
HSLhsl(253, 82%, 30%)
HSVhsv(253, 90%, 54%)
CMYKcmyk(70.3%, 89.9%, 0%, 45.9%)
CIE-LABlab(18.45, 46.72, -61.83)
CIE-LCHlch(18.45, 77.49, 307.08°)
OKLaboklab(31.85% 0.0271 -0.1785)
OKLCHoklch(31.85% 0.181 278.6)
XYZxyz(5.6575, 2.6200, 24.2474)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290E8A #6F8A0E
analogous
#0E318A #290E8A #670E8A
triadic
#290E8A #8A290E #0E8A29
tetradic
#290E8A #8A0E31 #6F8A0E #0E8A67
square
#290E8A #8A0E31 #6F8A0E #0E8A67
split-complementary
#290E8A #8A670E #318A0E
monochromatic
#08031C #180852 #290E8A #3A14C2 #5329E9

Accessibility & contrast

On white

13.78
#290E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#290E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290E8A
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290E8A#FFFFFF#000000##FFFFFF
##290E8A1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00318D
Deuteranopia (green-blind)
#002888
Tritanopia (blue-blind)
#003850
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #290e8a;
/* rgb */ color: rgb(41, 14, 138);
/* oklch */ color: oklch(31.9% 0.181 278.6);
Tailwind
colors: {
  custom: {
    50: '#7354ae',
    500: '#290e8a',
    950: '#000000',
  },
}
SCSS
$custom: #290e8a;
$custom-light: #7354ae;
$custom-dark: #000000;
JSON
{
  "hex": "#290e8a",
  "rgb": {
    "r": 41,
    "g": 14,
    "b": 138
  },
  "hsl": {
    "h": 253.065,
    "s": 81.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31851,
    "c": 0.18052,
    "h": 278.6
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#290E8A
secondary
#A1C034
accent
#F830CC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #290E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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