#451B5B#451B5B

#451B5B is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.8% C 0.114 H 311.9°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#451B5B
RGBrgb(69, 27, 91)
HSLhsl(279, 54%, 23%)
HSVhsv(279, 70%, 36%)
CMYKcmyk(24.2%, 70.3%, 0%, 64.3%)
CIE-LABlab(19.24, 32.06, -30.03)
CIE-LCHlch(19.24, 43.93, 316.87°)
OKLaboklab(31.78% 0.0758 -0.0846)
OKLCHoklch(31.78% 0.114 311.9)
XYZxyz(4.7342, 2.8045, 10.1874)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B5B #315B1B
analogous
#251B5B #451B5B #5B1B51
triadic
#451B5B #5B451B #1B5B45
tetradic
#451B5B #5B251B #315B1B #1B515B
square
#451B5B #5B251B #315B1B #1B515B
split-complementary
#451B5B #515B1B #1B5B25
monochromatic
#120718 #210D2C #451B5B #69298A #8D37B9

Accessibility & contrast

On white

13.45
#451B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#451B5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B5B
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B5B#FFFFFF#000000##FFFFFF
##451B5B1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#15305A
Tritanopia (blue-blind)
#422838
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #451b5b;
/* rgb */ color: rgb(69, 27, 91);
/* oklch */ color: oklch(31.8% 0.114 311.9);
Tailwind
colors: {
  custom: {
    50: '#7b5b8a',
    500: '#451b5b',
    950: '#000000',
  },
}
SCSS
$custom: #451b5b;
$custom-light: #7b5b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#451b5b",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 91
  },
  "hsl": {
    "h": 279.375,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31777,
    "c": 0.11365,
    "h": 311.9
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#451B5B
secondary
#5C9141
accent
#DE4A7D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #451B5B

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

Preview Lab → · Contrast checker → · Palette generator →

#451B5B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva