#291763#291763

#291763 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.4% C 0.125 H 286.2°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#291763
RGBrgb(41, 23, 99)
HSLhsl(254, 62%, 24%)
HSVhsv(254, 77%, 39%)
CMYKcmyk(58.6%, 76.8%, 0%, 61.2%)
CIE-LABlab(15.41, 30.53, -41.74)
CIE-LCHlch(15.41, 51.72, 306.18°)
OKLaboklab(28.42% 0.035 -0.1201)
OKLCHoklch(28.42% 0.125 286.2)
XYZxyz(3.4723, 1.9849, 12.0021)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291763 #516317
analogous
#172B63 #291763 #4F1763
triadic
#291763 #632917 #176329
tetradic
#291763 #63172B #516317 #17634F
square
#291763 #63172B #516317 #17634F
split-complementary
#291763 #634F17 #2B6317
monochromatic
#0A0619 #140B31 #291763 #3E2395 #522EC6

Accessibility & contrast

On white

15.03
#291763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#291763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291763
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291763#FFFFFF#000000##FFFFFF
##2917631.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002462
Tritanopia (blue-blind)
#0F2B3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #291763;
/* rgb */ color: rgb(41, 23, 99);
/* oklch */ color: oklch(28.4% 0.125 286.2);
Tailwind
colors: {
  custom: {
    50: '#6a5690',
    500: '#291763',
    950: '#000000',
  },
}
SCSS
$custom: #291763;
$custom-light: #6a5690;
$custom-dark: #000000;
JSON
{
  "hex": "#291763",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 254.211,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2842,
    "c": 0.12508,
    "h": 286.2
  },
  "luminance": 0.01985
}

Semantic roles & 50–950 ramp

primary
#291763
secondary
#839A3C
accent
#E542BF
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #291763

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

Preview Lab → · Contrast checker → · Palette generator →

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