#451B5C#451B5C

#451B5C is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.9% C 0.115 H 311.3°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#451B5C
RGBrgb(69, 27, 92)
HSLhsl(279, 55%, 23%)
HSVhsv(279, 71%, 36%)
CMYKcmyk(25%, 70.7%, 0%, 63.9%)
CIE-LABlab(19.32, 32.30, -30.58)
CIE-LCHlch(19.32, 44.48, 316.57°)
OKLaboklab(31.85% 0.0758 -0.0863)
OKLCHoklch(31.85% 0.115 311.3)
XYZxyz(4.7776, 2.8219, 10.4161)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B5C #325C1B
analogous
#241B5C #451B5C #5C1B52
triadic
#451B5C #5C451B #1B5C45
tetradic
#451B5C #5C241B #325C1B #1B525C
square
#451B5C #5C241B #325C1B #1B525C
split-complementary
#451B5C #525C1B #1B5C24
monochromatic
#120718 #220D2D #451B5C #68298B #8C37BB

Accessibility & contrast

On white

13.42
#451B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451B5C
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B5C#FFFFFF#000000##FFFFFF
##451B5C1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#14305B
Tritanopia (blue-blind)
#422839
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #451b5c;
/* rgb */ color: rgb(69, 27, 92);
/* oklch */ color: oklch(31.9% 0.115 311.3);
Tailwind
colors: {
  custom: {
    50: '#7b5b8b',
    500: '#451b5c',
    950: '#000000',
  },
}
SCSS
$custom: #451b5c;
$custom-light: #7b5b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#451b5c",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 278.769,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31852,
    "c": 0.11481,
    "h": 311.3
  },
  "luminance": 0.02822
}

Semantic roles & 50–950 ramp

primary
#451B5C
secondary
#5E9241
accent
#DE4A7E
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #451B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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