#45309B#45309B

#45309B is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.165 H 285.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#45309B
RGBrgb(69, 48, 155)
HSLhsl(252, 53%, 40%)
HSVhsv(252, 69%, 61%)
CMYKcmyk(55.5%, 69%, 0%, 39.2%)
CIE-LABlab(28.76, 38.50, -55.27)
CIE-LCHlch(28.76, 67.36, 304.87°)
OKLaboklab(40.25% 0.0434 -0.1589)
OKLCHoklch(40.25% 0.165 285.3)
XYZxyz(9.4258, 5.7451, 31.6162)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45309B #869B30
analogous
#30509B #45309B #7B309B
triadic
#45309B #9B4530 #309B45
tetradic
#45309B #9B3050 #869B30 #309B7B
square
#45309B #9B3050 #869B30 #309B7B
split-complementary
#45309B #9B7B30 #509B30
monochromatic
#1B133E #30226C #45309B #5D43C5 #8572D3

Accessibility & contrast

On white

9.77
#45309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#45309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45309B
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45309B#FFFFFF#000000##FFFFFF
##45309B1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#1F4B61
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #45309b;
/* rgb */ color: rgb(69, 48, 155);
/* oklch */ color: oklch(40.2% 0.165 285.3);
Tailwind
colors: {
  custom: {
    50: '#826ab9',
    500: '#45309b',
    950: '#000000',
  },
}
SCSS
$custom: #45309b;
$custom-light: #826ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#45309b",
  "rgb": {
    "r": 69,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 251.776,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40247,
    "c": 0.16469,
    "h": 285.3
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#45309B
secondary
#ACBB6C
accent
#DC4CC0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #45309B

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

Preview Lab → · Contrast checker → · Palette generator →

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