#45339B#45339B

#45339B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.7% C 0.161 H 284.6°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#45339B
RGBrgb(69, 51, 155)
HSLhsl(250, 50%, 40%)
HSVhsv(250, 67%, 61%)
CMYKcmyk(55.5%, 67.1%, 0%, 39.2%)
CIE-LABlab(29.41, 36.74, -54.20)
CIE-LCHlch(29.41, 65.48, 304.13°)
OKLaboklab(40.72% 0.0406 -0.1557)
OKLCHoklch(40.72% 0.161 284.6)
XYZxyz(9.5527, 5.9989, 31.6585)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45339B #899B33
analogous
#33559B #45339B #79339B
triadic
#45339B #9B4533 #339B45
tetradic
#45339B #9B3355 #899B33 #339B79
square
#45339B #9B3355 #899B33 #339B79
split-complementary
#45339B #9B7933 #559B33
monochromatic
#1C153F #31246D #45339B #5E48C3 #8676D2

Accessibility & contrast

On white

9.55
#45339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#45339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45339B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45339B#FFFFFF#000000##FFFFFF
##45339B1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#1F4D62
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #45339b;
/* rgb */ color: rgb(69, 51, 155);
/* oklch */ color: oklch(40.7% 0.161 284.6);
Tailwind
colors: {
  custom: {
    50: '#816cb9',
    500: '#45339b',
    950: '#000000',
  },
}
SCSS
$custom: #45339b;
$custom-light: #816cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#45339b",
  "rgb": {
    "r": 69,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 250.385,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40715,
    "c": 0.16095,
    "h": 284.6
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#45339B
secondary
#ADBA6F
accent
#DA4EC2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #45339B

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

Preview Lab → · Contrast checker → · Palette generator →

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