#291A6F#291A6F

#291A6F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.1% C 0.137 H 282.4°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#291A6F
RGBrgb(41, 26, 111)
HSLhsl(251, 62%, 27%)
HSVhsv(251, 77%, 44%)
CMYKcmyk(63.1%, 76.6%, 0%, 56.5%)
CIE-LABlab(17.26, 32.73, -46.57)
CIE-LCHlch(17.26, 56.92, 305.10°)
OKLaboklab(30.11% 0.0295 -0.1342)
OKLCHoklch(30.11% 0.137 282.4)
XYZxyz(4.1522, 2.3576, 15.2721)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A6F #606F1A
analogous
#1A366F #291A6F #541A6F
triadic
#291A6F #6F291A #1A6F29
tetradic
#291A6F #6F1A36 #606F1A #1A6F54
square
#291A6F #6F1A36 #606F1A #1A6F54
split-complementary
#291A6F #6F541A #366F1A
monochromatic
#090619 #170E3D #291A6F #3B26A1 #4F34CF

Accessibility & contrast

On white

14.27
#291A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#291A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A6F
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A6F#FFFFFF#000000##FFFFFF
##291A6F1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D71
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #291a6f;
/* rgb */ color: rgb(41, 26, 111);
/* oklch */ color: oklch(30.1% 0.137 282.4);
Tailwind
colors: {
  custom: {
    50: '#6c5899',
    500: '#291a6f',
    950: '#000000',
  },
}
SCSS
$custom: #291a6f;
$custom-light: #6c5899;
$custom-dark: #000000;
JSON
{
  "hex": "#291a6f",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 250.588,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30108,
    "c": 0.13743,
    "h": 282.4
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

primary
#291A6F
secondary
#93A441
accent
#E543C8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #291A6F

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

Preview Lab → · Contrast checker → · Palette generator →

#291A6F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva