#291075#291075

#291075 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.5% C 0.155 H 282.8°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#291075
RGBrgb(41, 16, 117)
HSLhsl(255, 76%, 26%)
HSVhsv(255, 86%, 46%)
CMYKcmyk(65%, 86.3%, 0%, 54.1%)
CIE-LABlab(16.14, 39.78, -52.31)
CIE-LCHlch(16.14, 65.72, 307.25°)
OKLaboklab(29.52% 0.0342 -0.1509)
OKLCHoklch(29.52% 0.155 282.8)
XYZxyz(4.3096, 2.1260, 17.0094)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291075 #5C7510
analogous
#102A75 #291075 #5B1075
triadic
#291075 #752910 #107529
tetradic
#291075 #75102A #5C7510 #10755B
square
#291075 #75102A #5C7510 #10755B
split-complementary
#291075 #755B10 #2A7510
monochromatic
#09041B #16093F #291075 #3C17AB #4F1FE0

Accessibility & contrast

On white

14.73
#291075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#291075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291075
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291075#FFFFFF#000000##FFFFFF
##2910751.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003044
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #291075;
/* rgb */ color: rgb(41, 16, 117);
/* oklch */ color: oklch(29.5% 0.155 282.8);
Tailwind
colors: {
  custom: {
    50: '#6f539e',
    500: '#291075',
    950: '#000000',
  },
}
SCSS
$custom: #291075;
$custom-light: #6f539e;
$custom-dark: #000000;
JSON
{
  "hex": "#291075",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 254.851,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.2952,
    "c": 0.15469,
    "h": 282.8
  },
  "luminance": 0.02126
}

Semantic roles & 50–950 ramp

primary
#291075
secondary
#8FAC35
accent
#F335C4
background
#F7F4F9
surface
#EDE8F2
border
#C8C4CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #291075

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

Preview Lab → · Contrast checker → · Palette generator →

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