#45339A#45339A

#45339A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.6% C 0.160 H 284.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#45339A
RGBrgb(69, 51, 154)
HSLhsl(250, 50%, 40%)
HSVhsv(250, 67%, 60%)
CMYKcmyk(55.2%, 66.9%, 0%, 39.6%)
CIE-LABlab(29.32, 36.42, -53.73)
CIE-LCHlch(29.32, 64.91, 304.13°)
OKLaboklab(40.63% 0.0407 -0.1544)
OKLCHoklch(40.63% 0.16 284.8)
XYZxyz(9.4690, 5.9654, 31.2181)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45339A #889A33
analogous
#33559A #45339A #78339A
triadic
#45339A #9A4533 #339A45
tetradic
#45339A #9A3355 #889A33 #339A78
square
#45339A #9A3355 #889A33 #339A78
split-complementary
#45339A #9A7833 #559A33
monochromatic
#1C153E #30246C #45339A #5D48C2 #8676D2

Accessibility & contrast

On white

9.58
#45339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#45339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45339A
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45339A#FFFFFF#000000##FFFFFF
##45339A1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#204D62
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #45339a;
/* rgb */ color: rgb(69, 51, 154);
/* oklch */ color: oklch(40.6% 0.160 284.8);
Tailwind
colors: {
  custom: {
    50: '#816cb9',
    500: '#45339a',
    950: '#000000',
  },
}
SCSS
$custom: #45339a;
$custom-light: #816cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#45339a",
  "rgb": {
    "r": 69,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 250.485,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40628,
    "c": 0.15964,
    "h": 284.8
  },
  "luminance": 0.05966
}

Semantic roles & 50–950 ramp

primary
#45339A
secondary
#ADBA6F
accent
#DA4EC1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #45339A

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

Preview Lab → · Contrast checker → · Palette generator →

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