#451B6F#451B6F

#451B6F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.137 H 302.2°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#451B6F
RGBrgb(69, 27, 111)
HSLhsl(270, 61%, 27%)
HSVhsv(270, 76%, 44%)
CMYKcmyk(37.8%, 75.7%, 0%, 56.5%)
CIE-LABlab(20.82, 37.19, -40.62)
CIE-LCHlch(20.82, 55.07, 312.48°)
OKLaboklab(33.4% 0.073 -0.1158)
OKLCHoklch(33.4% 0.137 302.2)
XYZxyz(5.7147, 3.1968, 15.3518)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B6F #456F1B
analogous
#1B1B6F #451B6F #6F1B6F
triadic
#451B6F #6F451B #1B6F45
tetradic
#451B6F #6F1B1B #456F1B #1B6F6F
square
#451B6F #6F1B1B #456F1B #1B6F6F
split-complementary
#451B6F #6F6F1B #1B6F1B
monochromatic
#0F0619 #260F3E #451B6F #6427A0 #8236CE

Accessibility & contrast

On white

12.81
#451B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#451B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B6F
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B6F#FFFFFF#000000##FFFFFF
##451B6F1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#3C3043
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #451b6f;
/* rgb */ color: rgb(69, 27, 111);
/* oklch */ color: oklch(33.4% 0.137 302.2);
Tailwind
colors: {
  custom: {
    50: '#7d5c99',
    500: '#451b6f',
    950: '#000000',
  },
}
SCSS
$custom: #451b6f;
$custom-light: #7d5c99;
$custom-dark: #000000;
JSON
{
  "hex": "#451b6f",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 270,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33397,
    "c": 0.13686,
    "h": 302.2
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

primary
#451B6F
secondary
#73A442
accent
#E44494
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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