#291265#291265

#291265 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.133 H 286.8°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#291265
RGBrgb(41, 18, 101)
HSLhsl(257, 70%, 23%)
HSVhsv(257, 82%, 40%)
CMYKcmyk(59.4%, 82.2%, 0%, 60.4%)
CIE-LABlab(14.64, 33.93, -44.32)
CIE-LCHlch(14.64, 55.82, 307.44°)
OKLaboklab(27.94% 0.0386 -0.1276)
OKLCHoklch(27.94% 0.133 286.8)
XYZxyz(3.4790, 1.8434, 12.4819)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291265 #4E6512
analogous
#122465 #291265 #521265
triadic
#291265 #652912 #126529
tetradic
#291265 #651224 #4E6512 #126552
square
#291265 #651224 #4E6512 #126552
split-complementary
#291265 #655212 #246512
monochromatic
#0B051A #140931 #291265 #3E1B99 #5325CD

Accessibility & contrast

On white

15.34
#291265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#291265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291265
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291265#FFFFFF#000000##FFFFFF
##2912651.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#002363
Tritanopia (blue-blind)
#0D2A3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #291265;
/* rgb */ color: rgb(41, 18, 101);
/* oklch */ color: oklch(27.9% 0.133 286.8);
Tailwind
colors: {
  custom: {
    50: '#6b5392',
    500: '#291265',
    950: '#000000',
  },
}
SCSS
$custom: #291265;
$custom-light: #6b5392;
$custom-dark: #000000;
JSON
{
  "hex": "#291265",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 256.627,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27945,
    "c": 0.13331,
    "h": 286.8
  },
  "luminance": 0.01844
}

Semantic roles & 50–950 ramp

primary
#291265
secondary
#809D36
accent
#ED3BBB
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #291265

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

Preview Lab → · Contrast checker → · Palette generator →

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