#45319E#45319E

#45319E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.167 H 284.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#45319E
RGBrgb(69, 49, 158)
HSLhsl(251, 53%, 41%)
HSVhsv(251, 69%, 62%)
CMYKcmyk(56.3%, 69%, 0%, 38%)
CIE-LABlab(29.23, 38.86, -56.32)
CIE-LCHlch(29.23, 68.42, 304.61°)
OKLaboklab(40.67% 0.042 -0.1619)
OKLCHoklch(40.67% 0.167 284.6)
XYZxyz(9.7222, 5.9299, 32.9734)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45319E #8A9E31
analogous
#31539E #45319E #7B319E
triadic
#45319E #9E4531 #319E45
tetradic
#45319E #9E3153 #8A9E31 #319E7B
square
#45319E #9E3153 #8A9E31 #319E7B
split-complementary
#45319E #9E7B31 #539E31
monochromatic
#1C1441 #31236F #45319E #5E46C6 #8775D4

Accessibility & contrast

On white

9.61
#45319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#45319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45319E
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45319E#FFFFFF#000000##FFFFFF
##45319E1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#1B4D63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #45319e;
/* rgb */ color: rgb(69, 49, 158);
/* oklch */ color: oklch(40.7% 0.167 284.6);
Tailwind
colors: {
  custom: {
    50: '#826bbc',
    500: '#45319e',
    950: '#000000',
  },
}
SCSS
$custom: #45319e;
$custom-light: #826bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#45319e",
  "rgb": {
    "r": 69,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 251.009,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40669,
    "c": 0.16731,
    "h": 284.6
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#45319E
secondary
#AEBC6E
accent
#DC4CC2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #45319E

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

Preview Lab → · Contrast checker → · Palette generator →

#45319E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva