#451B7E#451B7E

#451B7E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.154 H 296.7°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#451B7E
RGBrgb(69, 27, 126)
HSLhsl(265, 65%, 30%)
HSVhsv(265, 79%, 49%)
CMYKcmyk(45.2%, 78.6%, 0%, 50.6%)
CIE-LABlab(22.14, 41.22, -48.06)
CIE-LCHlch(22.14, 63.32, 310.62°)
OKLaboklab(34.74% 0.0693 -0.1376)
OKLCHoklch(34.74% 0.154 296.7)
XYZxyz(6.6111, 3.5553, 20.0725)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B7E #547E1B
analogous
#1B227E #451B7E #771B7E
triadic
#451B7E #7E451B #1B7E45
tetradic
#451B7E #7E1B22 #547E1B #1B7E77
square
#451B7E #7E1B22 #547E1B #1B7E77
split-complementary
#451B7E #7E771B #227E1B
monochromatic
#0E0519 #29104C #451B7E #6126B0 #7E3ED6

Accessibility & contrast

On white

12.27
#451B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#451B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B7E
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B7E#FFFFFF#000000##FFFFFF
##451B7E1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#36364B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451b7e;
/* rgb */ color: rgb(69, 27, 126);
/* oklch */ color: oklch(34.7% 0.154 296.7);
Tailwind
colors: {
  custom: {
    50: '#7f5ca4',
    500: '#451b7e',
    950: '#000000',
  },
}
SCSS
$custom: #451b7e;
$custom-light: #7f5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#451b7e",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 265.455,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.34745,
    "c": 0.15409,
    "h": 296.7
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#451B7E
secondary
#83B243
accent
#E840A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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