#45339D#45339D

#45339D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.9% C 0.164 H 284.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#45339D
RGBrgb(69, 51, 157)
HSLhsl(250, 51%, 41%)
HSVhsv(250, 68%, 62%)
CMYKcmyk(56.1%, 67.5%, 0%, 38.4%)
CIE-LABlab(29.58, 37.37, -55.14)
CIE-LCHlch(29.58, 66.61, 304.12°)
OKLaboklab(40.89% 0.0403 -0.1585)
OKLCHoklch(40.89% 0.164 284.3)
XYZxyz(9.7220, 6.0666, 32.5504)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45339D #8B9D33
analogous
#33569D #45339D #7A339D
triadic
#45339D #9D4533 #339D45
tetradic
#45339D #9D3356 #8B9D33 #339D7A
square
#45339D #9D3356 #8B9D33 #339D7A
split-complementary
#45339D #9D7A33 #569D33
monochromatic
#1C1541 #31246F #45339D #5E49C4 #8777D3

Accessibility & contrast

On white

9.49
#45339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#45339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45339D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45339D#FFFFFF#000000##FFFFFF
##45339D1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#1C4E63
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #45339d;
/* rgb */ color: rgb(69, 51, 157);
/* oklch */ color: oklch(40.9% 0.164 284.3);
Tailwind
colors: {
  custom: {
    50: '#826cbb',
    500: '#45339d',
    950: '#000000',
  },
}
SCSS
$custom: #45339d;
$custom-light: #826cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#45339d",
  "rgb": {
    "r": 69,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 250.189,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40891,
    "c": 0.16355,
    "h": 284.3
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#45339D
secondary
#AFBB70
accent
#DA4DC2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #45339D

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

Preview Lab → · Contrast checker → · Palette generator →

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