#45309A#45309A

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

Color values

HEX#45309A
RGBrgb(69, 48, 154)
HSLhsl(252, 52%, 40%)
HSVhsv(252, 69%, 60%)
CMYKcmyk(55.2%, 68.8%, 0%, 39.6%)
CIE-LABlab(28.67, 38.19, -54.80)
CIE-LCHlch(28.67, 66.79, 304.88°)
OKLaboklab(40.16% 0.0436 -0.1575)
OKLCHoklch(40.16% 0.163 285.5)
XYZxyz(9.3422, 5.7117, 31.1758)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45309A #859A30
analogous
#30509A #45309A #7A309A
triadic
#45309A #9A4530 #309A45
tetradic
#45309A #9A3050 #859A30 #309A7A
square
#45309A #9A3050 #859A30 #309A7A
split-complementary
#45309A #9A7A30 #509A30
monochromatic
#1B133D #30216B #45309A #5D43C4 #8572D3

Accessibility & contrast

On white

9.80
#45309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#45309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45309A
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45309A#FFFFFF#000000##FFFFFF
##45309A1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#204B61
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #45309a;
/* rgb */ color: rgb(69, 48, 154);
/* oklch */ color: oklch(40.2% 0.163 285.5);
Tailwind
colors: {
  custom: {
    50: '#816ab9',
    500: '#45309a',
    950: '#000000',
  },
}
SCSS
$custom: #45309a;
$custom-light: #816ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#45309a",
  "rgb": {
    "r": 69,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 251.887,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40158,
    "c": 0.16341,
    "h": 285.5
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#45309A
secondary
#ABBB6B
accent
#DC4CBF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #45309A

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

Preview Lab → · Contrast checker → · Palette generator →

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