#451B8C#451B8C

#451B8C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.170 H 292.5°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#451B8C
RGBrgb(69, 27, 140)
HSLhsl(262, 68%, 33%)
HSVhsv(262, 81%, 55%)
CMYKcmyk(50.7%, 80.7%, 0%, 45.1%)
CIE-LABlab(23.48, 45.03, -54.67)
CIE-LCHlch(23.48, 70.83, 309.48°)
OKLaboklab(36.09% 0.0651 -0.157)
OKLCHoklch(36.09% 0.17 292.5)
XYZxyz(7.5785, 3.9423, 25.1675)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B8C #628C1B
analogous
#1B298C #451B8C #7E1B8C
triadic
#451B8C #8C451B #1B8C45
tetradic
#451B8C #8C1B29 #628C1B #1B8C7E
square
#451B8C #8C1B29 #628C1B #1B8C7E
split-complementary
#451B8C #8C7E1B #298C1B
monochromatic
#120725 #2C1159 #451B8C #5E25BF #7E46DB

Accessibility & contrast

On white

11.74
#451B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#451B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B8C
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B8C#FFFFFF#000000##FFFFFF
##451B8C1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#2E3B53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #451b8c;
/* rgb */ color: rgb(69, 27, 140);
/* oklch */ color: oklch(36.1% 0.170 292.5);
Tailwind
colors: {
  custom: {
    50: '#815daf',
    500: '#451b8c',
    950: '#000000',
  },
}
SCSS
$custom: #451b8c;
$custom-light: #815daf;
$custom-dark: #000000;
JSON
{
  "hex": "#451b8c",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 140
  },
  "hsl": {
    "h": 262.301,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36086,
    "c": 0.16995,
    "h": 292.5
  },
  "luminance": 0.03943
}

Semantic roles & 50–950 ramp

primary
#451B8C
secondary
#91BD46
accent
#EB3DAA
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #451B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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