#45308D#45308D

#45308D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.0% C 0.146 H 288.0°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#45308D
RGBrgb(69, 48, 141)
HSLhsl(254, 49%, 37%)
HSVhsv(254, 66%, 55%)
CMYKcmyk(51.1%, 66%, 0%, 44.7%)
CIE-LABlab(27.58, 34.15, -48.59)
CIE-LCHlch(27.58, 59.39, 305.10°)
OKLaboklab(39.03% 0.0453 -0.1393)
OKLCHoklch(39.03% 0.146 288)
XYZxyz(8.3175, 5.3018, 25.7792)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45308D #788D30
analogous
#304A8D #45308D #73308D
triadic
#45308D #8D4530 #308D45
tetradic
#45308D #8D304A #788D30 #308D73
square
#45308D #8D304A #788D30 #308D73
split-complementary
#45308D #8D7330 #4A8D30
monochromatic
#181132 #2F205F #45308D #5B40BB #816BCD

Accessibility & contrast

On white

10.19
#45308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#45308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45308D
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45308D#FFFFFF#000000##FFFFFF
##45308D1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#2C475A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #45308d;
/* rgb */ color: rgb(69, 48, 141);
/* oklch */ color: oklch(39.0% 0.146 288.0);
Tailwind
colors: {
  custom: {
    50: '#7f69af',
    500: '#45308d',
    950: '#000000',
  },
}
SCSS
$custom: #45308d;
$custom-light: #7f69af;
$custom-dark: #000000;
JSON
{
  "hex": "#45308d",
  "rgb": {
    "r": 69,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 253.548,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39026,
    "c": 0.14645,
    "h": 288
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#45308D
secondary
#A2B465
accent
#D94FBA
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #45308D

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

Preview Lab → · Contrast checker → · Palette generator →

#45308D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva