#45309E#45309E

#45309E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.169 H 284.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#45309E
RGBrgb(69, 48, 158)
HSLhsl(251, 53%, 40%)
HSVhsv(251, 70%, 62%)
CMYKcmyk(56.3%, 69.6%, 0%, 38%)
CIE-LABlab(29.02, 39.44, -56.66)
CIE-LCHlch(29.02, 69.03, 304.84°)
OKLaboklab(40.52% 0.043 -0.163)
OKLCHoklch(40.52% 0.169 284.8)
XYZxyz(9.6809, 5.8472, 32.9596)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45309E #899E30
analogous
#30529E #45309E #7C309E
triadic
#45309E #9E4530 #309E45
tetradic
#45309E #9E3052 #899E30 #309E7C
square
#45309E #9E3052 #899E30 #309E7C
split-complementary
#45309E #9E7C30 #529E30
monochromatic
#1C1340 #31226F #45309E #5E45C6 #8674D5

Accessibility & contrast

On white

9.68
#45309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#45309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45309E
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45309E#FFFFFF#000000##FFFFFF
##45309E1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45309e;
/* rgb */ color: rgb(69, 48, 158);
/* oklch */ color: oklch(40.5% 0.169 284.8);
Tailwind
colors: {
  custom: {
    50: '#826abc',
    500: '#45309e',
    950: '#000000',
  },
}
SCSS
$custom: #45309e;
$custom-light: #826abc;
$custom-dark: #000000;
JSON
{
  "hex": "#45309e",
  "rgb": {
    "r": 69,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 251.455,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40518,
    "c": 0.16852,
    "h": 284.8
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#45309E
secondary
#ADBD6D
accent
#DD4BC1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #45309E

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

Preview Lab → · Contrast checker → · Palette generator →

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