#291685#291685

#291685 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.169 H 278.7°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#291685
RGBrgb(41, 22, 133)
HSLhsl(250, 72%, 30%)
HSVhsv(250, 83%, 52%)
CMYKcmyk(69.2%, 83.5%, 0%, 47.8%)
CIE-LABlab(18.96, 41.91, -57.83)
CIE-LCHlch(18.96, 71.42, 305.93°)
OKLaboklab(32.02% 0.0257 -0.167)
OKLCHoklch(32.02% 0.169 278.7)
XYZxyz(5.4336, 2.7382, 22.4279)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291685 #728516
analogous
#163B85 #291685 #601685
triadic
#291685 #852916 #168529
tetradic
#291685 #85163B #728516 #168560
square
#291685 #85163B #728516 #168560
split-complementary
#291685 #856016 #3B8516
monochromatic
#09051C #190D50 #291685 #391FBA #5437DE

Accessibility & contrast

On white

13.57
#291685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#291685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291685
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291685#FFFFFF#000000##FFFFFF
##2916851.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #291685;
/* rgb */ color: rgb(41, 22, 133);
/* oklch */ color: oklch(32.0% 0.169 278.7);
Tailwind
colors: {
  custom: {
    50: '#7257aa',
    500: '#291685',
    950: '#000000',
  },
}
SCSS
$custom: #291685;
$custom-light: #7257aa;
$custom-dark: #000000;
JSON
{
  "hex": "#291685",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 250.27,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32024,
    "c": 0.16899,
    "h": 278.7
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#291685
secondary
#A4B93E
accent
#EE39CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #291685

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

Preview Lab → · Contrast checker → · Palette generator →

#291685 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva