#451B8F#451B8F

#451B8F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.173 H 291.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#451B8F
RGBrgb(69, 27, 143)
HSLhsl(262, 68%, 33%)
HSVhsv(262, 81%, 56%)
CMYKcmyk(51.7%, 81.1%, 0%, 43.9%)
CIE-LABlab(23.78, 45.86, -56.05)
CIE-LCHlch(23.78, 72.42, 309.29°)
OKLaboklab(36.38% 0.0641 -0.161)
OKLCHoklch(36.38% 0.173 291.7)
XYZxyz(7.8027, 4.0319, 26.3484)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B8F #658F1B
analogous
#1B2B8F #451B8F #7F1B8F
triadic
#451B8F #8F451B #1B8F45
tetradic
#451B8F #8F1B2B #658F1B #1B8F7F
square
#451B8F #8F1B2B #658F1B #1B8F7F
split-complementary
#451B8F #8F7F1B #2B8F1B
monochromatic
#130828 #2C115C #451B8F #5E25C2 #7E48DC

Accessibility & contrast

On white

11.63
#451B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#451B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B8F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B8F#FFFFFF#000000##FFFFFF
##451B8F1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#2C3D55
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #451b8f;
/* rgb */ color: rgb(69, 27, 143);
/* oklch */ color: oklch(36.4% 0.173 291.7);
Tailwind
colors: {
  custom: {
    50: '#815db1',
    500: '#451b8f',
    950: '#000000',
  },
}
SCSS
$custom: #451b8f;
$custom-light: #815db1;
$custom-dark: #000000;
JSON
{
  "hex": "#451b8f",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 261.724,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36383,
    "c": 0.17332,
    "h": 291.7
  },
  "luminance": 0.04032
}

Semantic roles & 50–950 ramp

primary
#451B8F
secondary
#93BE48
accent
#EB3DAC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #451B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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