#451B74#451B74

#451B74 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.143 H 300.3°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#451B74
RGBrgb(69, 27, 116)
HSLhsl(268, 62%, 28%)
HSVhsv(268, 77%, 45%)
CMYKcmyk(40.5%, 76.7%, 0%, 54.5%)
CIE-LABlab(21.24, 38.52, -43.15)
CIE-LCHlch(21.24, 57.84, 311.76°)
OKLaboklab(33.84% 0.0719 -0.1232)
OKLCHoklch(33.84% 0.143 300.3)
XYZxyz(5.9978, 3.3100, 16.8425)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B74 #4A741B
analogous
#1B1D74 #451B74 #711B74
triadic
#451B74 #74451B #1B7445
tetradic
#451B74 #741B1D #4A741B #1B7471
square
#451B74 #741B1D #4A741B #1B7471
split-complementary
#451B74 #74711B #1D741B
monochromatic
#0F0619 #270F42 #451B74 #6327A6 #8039D1

Accessibility & contrast

On white

12.64
#451B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#451B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B74
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B74#FFFFFF#000000##FFFFFF
##451B741.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#3A3246
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #451b74;
/* rgb */ color: rgb(69, 27, 116);
/* oklch */ color: oklch(33.8% 0.143 300.3);
Tailwind
colors: {
  custom: {
    50: '#7e5c9d',
    500: '#451b74',
    950: '#000000',
  },
}
SCSS
$custom: #451b74;
$custom-light: #7e5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#451b74",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 268.315,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33835,
    "c": 0.14263,
    "h": 300.3
  },
  "luminance": 0.0331
}

Semantic roles & 50–950 ramp

primary
#451B74
secondary
#78A942
accent
#E54298
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451B74

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

Preview Lab → · Contrast checker → · Palette generator →

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