#450F76#450F76

#450F76 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.157 H 301.3°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#450F76
RGBrgb(69, 15, 118)
HSLhsl(271, 77%, 26%)
HSVhsv(271, 87%, 46%)
CMYKcmyk(41.5%, 87.3%, 0%, 53.7%)
CIE-LABlab(19.70, 44.03, -46.96)
CIE-LCHlch(19.70, 64.37, 313.16°)
OKLaboklab(32.81% 0.0815 -0.1343)
OKLCHoklch(32.81% 0.157 301.3)
XYZxyz(5.8943, 2.9148, 17.3881)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#450F76 #40760F
analogous
#110F76 #450F76 #760F73
triadic
#450F76 #76450F #0F7645
tetradic
#450F76 #76110F #40760F #0F7376
square
#450F76 #76110F #40760F #0F7376
split-complementary
#450F76 #73760F #0F7611
monochromatic
#10031B #250840 #450F76 #6516AC #841DE2

Accessibility & contrast

On white

13.27
#450F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#450F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #450F76
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##450F76#FFFFFF#000000##FFFFFF
##450F761.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#3A2D44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #450f76;
/* rgb */ color: rgb(69, 15, 118);
/* oklch */ color: oklch(32.8% 0.157 301.3);
Tailwind
colors: {
  custom: {
    50: '#7f569e',
    500: '#450f76',
    950: '#000000',
  },
}
SCSS
$custom: #450f76;
$custom-light: #7f569e;
$custom-dark: #000000;
JSON
{
  "hex": "#450f76",
  "rgb": {
    "r": 69,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 271.456,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32813,
    "c": 0.15707,
    "h": 301.3
  },
  "luminance": 0.02915
}

Semantic roles & 50–950 ramp

primary
#450F76
secondary
#6DAD33
accent
#F4348F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #450F76

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

Preview Lab → · Contrast checker → · Palette generator →

#450F76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva