#451B6D#451B6D

#451B6D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.135 H 303.1°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#451B6D
RGBrgb(69, 27, 109)
HSLhsl(271, 60%, 27%)
HSVhsv(271, 75%, 43%)
CMYKcmyk(36.7%, 75.2%, 0%, 57.3%)
CIE-LABlab(20.65, 36.66, -39.60)
CIE-LCHlch(20.65, 53.97, 312.80°)
OKLaboklab(33.23% 0.0734 -0.1127)
OKLCHoklch(33.23% 0.135 303.1)
XYZxyz(5.6058, 3.1532, 14.7783)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B6D #436D1B
analogous
#1C1B6D #451B6D #6D1B6C
triadic
#451B6D #6D451B #1B6D45
tetradic
#451B6D #6D1C1B #436D1B #1B6C6D
square
#451B6D #6D1C1B #436D1B #1B6C6D
split-complementary
#451B6D #6C6D1B #1B6D1C
monochromatic
#100619 #260F3C #451B6D #64279E #8335CD

Accessibility & contrast

On white

12.88
#451B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#451B6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B6D
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B6D#FFFFFF#000000##FFFFFF
##451B6D1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#3D2F42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #451b6d;
/* rgb */ color: rgb(69, 27, 109);
/* oklch */ color: oklch(33.2% 0.135 303.1);
Tailwind
colors: {
  custom: {
    50: '#7d5b97',
    500: '#451b6d',
    950: '#000000',
  },
}
SCSS
$custom: #451b6d;
$custom-light: #7d5b97;
$custom-dark: #000000;
JSON
{
  "hex": "#451b6d",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 109
  },
  "hsl": {
    "h": 270.732,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33225,
    "c": 0.13454,
    "h": 303.1
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#451B6D
secondary
#71A242
accent
#E34492
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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