#451B6E#451B6E

#451B6E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.136 H 302.6°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#451B6E
RGBrgb(69, 27, 110)
HSLhsl(270, 61%, 27%)
HSVhsv(270, 75%, 43%)
CMYKcmyk(37.3%, 75.5%, 0%, 56.9%)
CIE-LABlab(20.73, 36.93, -40.11)
CIE-LCHlch(20.73, 54.52, 312.64°)
OKLaboklab(33.31% 0.0732 -0.1143)
OKLCHoklch(33.31% 0.136 302.6)
XYZxyz(5.6600, 3.1749, 15.0634)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B6E #446E1B
analogous
#1B1B6E #451B6E #6E1B6E
triadic
#451B6E #6E451B #1B6E45
tetradic
#451B6E #6E1B1B #446E1B #1B6E6E
square
#451B6E #6E1B1B #446E1B #1B6E6E
split-complementary
#451B6E #6E6E1B #1B6E1B
monochromatic
#0F0619 #260F3D #451B6E #64279F #8336CE

Accessibility & contrast

On white

12.84
#451B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451B6E
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B6E#FFFFFF#000000##FFFFFF
##451B6E1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#3D2F42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #451b6e;
/* rgb */ color: rgb(69, 27, 110);
/* oklch */ color: oklch(33.3% 0.136 302.6);
Tailwind
colors: {
  custom: {
    50: '#7d5b98',
    500: '#451b6e',
    950: '#000000',
  },
}
SCSS
$custom: #451b6e;
$custom-light: #7d5b98;
$custom-dark: #000000;
JSON
{
  "hex": "#451b6e",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 270.361,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33311,
    "c": 0.1357,
    "h": 302.6
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#451B6E
secondary
#72A342
accent
#E44493
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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