#291253#291253

#291253 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.1% C 0.110 H 293.4°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#291253
RGBrgb(41, 18, 83)
HSLhsl(261, 64%, 20%)
HSVhsv(261, 78%, 33%)
CMYKcmyk(50.6%, 78.3%, 0%, 67.5%)
CIE-LABlab(12.79, 28.32, -35.29)
CIE-LCHlch(12.79, 45.24, 308.75°)
OKLaboklab(26.08% 0.0438 -0.1011)
OKLCHoklch(26.08% 0.11 293.4)
XYZxyz(2.6917, 1.5285, 8.3351)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291253 #3C5312
analogous
#121C53 #291253 #4A1253
triadic
#291253 #532912 #125329
tetradic
#291253 #53121C #3C5312 #12534A
square
#291253 #53121C #3C5312 #12534A
split-complementary
#291253 #534A12 #1C5312
monochromatic
#0C0519 #100721 #291253 #421D85 #5B28B8

Accessibility & contrast

On white

16.08
#291253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#291253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291253
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291253#FFFFFF#000000##FFFFFF
##2912531.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#002052
Tritanopia (blue-blind)
#1C2331
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #291253;
/* rgb */ color: rgb(41, 18, 83);
/* oklch */ color: oklch(26.1% 0.110 293.4);
Tailwind
colors: {
  custom: {
    50: '#685284',
    500: '#291253',
    950: '#000000',
  },
}
SCSS
$custom: #291253;
$custom-light: #685284;
$custom-dark: #000000;
JSON
{
  "hex": "#291253",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 261.231,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26075,
    "c": 0.1102,
    "h": 293.4
  },
  "luminance": 0.01529
}

Semantic roles & 50–950 ramp

primary
#291253
secondary
#6D8C35
accent
#E740AC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #291253

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

Preview Lab → · Contrast checker → · Palette generator →

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