#451B7F#451B7F

#451B7F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.155 H 296.4°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#451B7F
RGBrgb(69, 27, 127)
HSLhsl(265, 65%, 30%)
HSVhsv(265, 79%, 50%)
CMYKcmyk(45.7%, 78.7%, 0%, 50.2%)
CIE-LABlab(22.24, 41.49, -48.55)
CIE-LCHlch(22.24, 63.86, 310.52°)
OKLaboklab(34.84% 0.069 -0.139)
OKLCHoklch(34.84% 0.155 296.4)
XYZxyz(6.6759, 3.5812, 20.4141)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B7F #557F1B
analogous
#1B237F #451B7F #771B7F
triadic
#451B7F #7F451B #1B7F45
tetradic
#451B7F #7F1B23 #557F1B #1B7F77
square
#451B7F #7F1B23 #557F1B #1B7F77
split-complementary
#451B7F #7F771B #237F1B
monochromatic
#0E061A #2A104D #451B7F #6026B1 #7E3ED6

Accessibility & contrast

On white

12.24
#451B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#451B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B7F
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B7F#FFFFFF#000000##FFFFFF
##451B7F1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#35364C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451b7f;
/* rgb */ color: rgb(69, 27, 127);
/* oklch */ color: oklch(34.8% 0.155 296.4);
Tailwind
colors: {
  custom: {
    50: '#7f5ca5',
    500: '#451b7f',
    950: '#000000',
  },
}
SCSS
$custom: #451b7f;
$custom-light: #7f5ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#451b7f",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 265.2,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34838,
    "c": 0.15523,
    "h": 296.4
  },
  "luminance": 0.03581
}

Semantic roles & 50–950 ramp

primary
#451B7F
secondary
#84B343
accent
#E840A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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