#451B5E#451B5E

#451B5E is a dark, moderate violet. Relative luminance 0.029; OKLCH L 32.0% C 0.117 H 310.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#451B5E
RGBrgb(69, 27, 94)
HSLhsl(278, 55%, 24%)
HSVhsv(278, 71%, 37%)
CMYKcmyk(26.6%, 71.3%, 0%, 63.1%)
CIE-LABlab(19.46, 32.80, -31.67)
CIE-LCHlch(19.46, 45.60, 316.00°)
OKLaboklab(32.01% 0.0756 -0.0895)
OKLCHoklch(32.01% 0.117 310.2)
XYZxyz(4.8662, 2.8573, 10.8827)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B5E #345E1B
analogous
#231B5E #451B5E #5E1B55
triadic
#451B5E #5E451B #1B5E45
tetradic
#451B5E #5E231B #345E1B #1B555E
square
#451B5E #5E231B #345E1B #1B555E
split-complementary
#451B5E #555E1B #1B5E23
monochromatic
#110718 #220D2E #451B5E #68298E #8B36BD

Accessibility & contrast

On white

13.36
#451B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#451B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B5E
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B5E#FFFFFF#000000##FFFFFF
##451B5E1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#11305C
Tritanopia (blue-blind)
#42293A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #451b5e;
/* rgb */ color: rgb(69, 27, 94);
/* oklch */ color: oklch(32.0% 0.117 310.2);
Tailwind
colors: {
  custom: {
    50: '#7b5b8c',
    500: '#451b5e',
    950: '#000000',
  },
}
SCSS
$custom: #451b5e;
$custom-light: #7b5b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#451b5e",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 277.612,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32005,
    "c": 0.11712,
    "h": 310.2
  },
  "luminance": 0.02857
}

Semantic roles & 50–950 ramp

primary
#451B5E
secondary
#609441
accent
#DF4981
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #451B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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