#45308F#45308F

#45308F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.2% C 0.149 H 287.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#45308F
RGBrgb(69, 48, 143)
HSLhsl(253, 50%, 37%)
HSVhsv(253, 66%, 56%)
CMYKcmyk(51.7%, 66.4%, 0%, 43.9%)
CIE-LABlab(27.74, 34.77, -49.56)
CIE-LCHlch(27.74, 60.54, 305.05°)
OKLaboklab(39.2% 0.0451 -0.1421)
OKLCHoklch(39.2% 0.149 287.6)
XYZxyz(8.4677, 5.3619, 26.5700)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45308F #7A8F30
analogous
#304B8F #45308F #74308F
triadic
#45308F #8F4530 #308F45
tetradic
#45308F #8F304B #7A8F30 #308F74
square
#45308F #8F304B #7A8F30 #308F74
split-complementary
#45308F #8F7430 #4B8F30
monochromatic
#191133 #2F2161 #45308F #5B3FBD #816CCE

Accessibility & contrast

On white

10.13
#45308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#45308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45308F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45308F#FFFFFF#000000##FFFFFF
##45308F1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#2A475B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #45308f;
/* rgb */ color: rgb(69, 48, 143);
/* oklch */ color: oklch(39.2% 0.149 287.6);
Tailwind
colors: {
  custom: {
    50: '#806ab1',
    500: '#45308f',
    950: '#000000',
  },
}
SCSS
$custom: #45308f;
$custom-light: #806ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#45308f",
  "rgb": {
    "r": 69,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 253.263,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39196,
    "c": 0.1491,
    "h": 287.6
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#45308F
secondary
#A3B566
accent
#D94FBB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #45308F

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

Preview Lab → · Contrast checker → · Palette generator →

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