#291083#291083

#291083 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.171 H 279.7°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#291083
RGBrgb(41, 16, 131)
HSLhsl(253, 78%, 29%)
HSVhsv(253, 88%, 51%)
CMYKcmyk(68.7%, 87.8%, 0%, 48.6%)
CIE-LABlab(17.83, 43.94, -58.45)
CIE-LCHlch(17.83, 73.12, 306.93°)
OKLaboklab(31.17% 0.029 -0.1687)
OKLCHoklch(31.17% 0.171 279.7)
XYZxyz(5.1952, 2.4803, 21.6733)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291083 #6A8310
analogous
#103183 #291083 #631083
triadic
#291083 #832910 #108329
tetradic
#291083 #831031 #6A8310 #108363
square
#291083 #831031 #6A8310 #108363
split-complementary
#291083 #836310 #318310
monochromatic
#09031B #18094C #291083 #3A17BA #5229E5

Accessibility & contrast

On white

14.04
#291083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#291083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291083
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291083#FFFFFF#000000##FFFFFF
##2910831.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003086
Deuteranopia (green-blind)
#002781
Tritanopia (blue-blind)
#00364C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291083;
/* rgb */ color: rgb(41, 16, 131);
/* oklch */ color: oklch(31.2% 0.171 279.7);
Tailwind
colors: {
  custom: {
    50: '#7255a8',
    500: '#291083',
    950: '#000000',
  },
}
SCSS
$custom: #291083;
$custom-light: #7255a8;
$custom-dark: #000000;
JSON
{
  "hex": "#291083",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 253.043,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31174,
    "c": 0.17119,
    "h": 279.7
  },
  "luminance": 0.02481
}

Semantic roles & 50–950 ramp

primary
#291083
secondary
#9CB936
accent
#F533CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #291083

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

Preview Lab → · Contrast checker → · Palette generator →

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