#45309F#45309F

#45309F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.170 H 284.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#45309F
RGBrgb(69, 48, 159)
HSLhsl(251, 54%, 41%)
HSVhsv(251, 70%, 62%)
CMYKcmyk(56.6%, 69.8%, 0%, 37.6%)
CIE-LABlab(29.11, 39.75, -57.12)
CIE-LCHlch(29.11, 69.59, 304.83°)
OKLaboklab(40.61% 0.0428 -0.1643)
OKLCHoklch(40.61% 0.17 284.6)
XYZxyz(9.7673, 5.8817, 33.4148)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45309F #8A9F30
analogous
#30539F #45309F #7C309F
triadic
#45309F #9F4530 #309F45
tetradic
#45309F #9F3053 #8A9F30 #309F7C
square
#45309F #9F3053 #8A9F30 #309F7C
split-complementary
#45309F #9F7C30 #539F30
monochromatic
#1C1441 #312270 #45309F #5E45C7 #8774D5

Accessibility & contrast

On white

9.65
#45309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#45309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45309F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45309F#FFFFFF#000000##FFFFFF
##45309F1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#1A4D63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #45309f;
/* rgb */ color: rgb(69, 48, 159);
/* oklch */ color: oklch(40.6% 0.170 284.6);
Tailwind
colors: {
  custom: {
    50: '#826abc',
    500: '#45309f',
    950: '#000000',
  },
}
SCSS
$custom: #45309f;
$custom-light: #826abc;
$custom-dark: #000000;
JSON
{
  "hex": "#45309f",
  "rgb": {
    "r": 69,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 251.351,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40608,
    "c": 0.16979,
    "h": 284.6
  },
  "luminance": 0.05882
}

Semantic roles & 50–950 ramp

primary
#45309F
secondary
#AEBD6E
accent
#DD4BC1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #45309F

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

Preview Lab → · Contrast checker → · Palette generator →

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