#45339F#45339F

#45339F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.166 H 283.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#45339F
RGBrgb(69, 51, 159)
HSLhsl(250, 51%, 41%)
HSVhsv(250, 68%, 62%)
CMYKcmyk(56.6%, 67.9%, 0%, 37.6%)
CIE-LABlab(29.75, 38.00, -56.08)
CIE-LCHlch(29.75, 67.74, 304.12°)
OKLaboklab(41.07% 0.0401 -0.1612)
OKLCHoklch(41.07% 0.166 283.9)
XYZxyz(9.8942, 6.1355, 33.4571)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45339F #8D9F33
analogous
#33579F #45339F #7B339F
triadic
#45339F #9F4533 #339F45
tetradic
#45339F #9F3357 #8D9F33 #339F7B
square
#45339F #9F3357 #8D9F33 #339F7B
split-complementary
#45339F #9F7B33 #579F33
monochromatic
#1D1542 #312471 #45339F #5F4AC5 #8879D4

Accessibility & contrast

On white

9.43
#45339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#45339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45339F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45339F#FFFFFF#000000##FFFFFF
##45339F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#1A4F64
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #45339f;
/* rgb */ color: rgb(69, 51, 159);
/* oklch */ color: oklch(41.1% 0.166 283.9);
Tailwind
colors: {
  custom: {
    50: '#826cbc',
    500: '#45339f',
    950: '#000000',
  },
}
SCSS
$custom: #45339f;
$custom-light: #826cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#45339f",
  "rgb": {
    "r": 69,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 250,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41068,
    "c": 0.16615,
    "h": 283.9
  },
  "luminance": 0.06136
}

Semantic roles & 50–950 ramp

primary
#45339F
secondary
#B0BC71
accent
#DB4DC3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #45339F

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

Preview Lab → · Contrast checker → · Palette generator →

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