#45339E#45339E

#45339E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.0% C 0.165 H 284.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#45339E
RGBrgb(69, 51, 158)
HSLhsl(250, 51%, 41%)
HSVhsv(250, 68%, 62%)
CMYKcmyk(56.3%, 67.7%, 0%, 38%)
CIE-LABlab(29.67, 37.69, -55.61)
CIE-LCHlch(29.67, 67.18, 304.12°)
OKLaboklab(40.98% 0.0402 -0.1599)
OKLCHoklch(40.98% 0.165 284.1)
XYZxyz(9.8077, 6.1009, 33.0019)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45339E #8C9E33
analogous
#33579E #45339E #7A339E
triadic
#45339E #9E4533 #339E45
tetradic
#45339E #9E3357 #8C9E33 #339E7A
square
#45339E #9E3357 #8C9E33 #339E7A
split-complementary
#45339E #9E7A33 #579E33
monochromatic
#1D1541 #312470 #45339E #5E4AC4 #8778D3

Accessibility & contrast

On white

9.46
#45339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#45339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45339E
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45339E#FFFFFF#000000##FFFFFF
##45339E1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#1B4E64
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #45339e;
/* rgb */ color: rgb(69, 51, 158);
/* oklch */ color: oklch(41.0% 0.165 284.1);
Tailwind
colors: {
  custom: {
    50: '#826cbc',
    500: '#45339e',
    950: '#000000',
  },
}
SCSS
$custom: #45339e;
$custom-light: #826cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#45339e",
  "rgb": {
    "r": 69,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 250.093,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40979,
    "c": 0.16485,
    "h": 284.1
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#45339E
secondary
#AFBC71
accent
#DB4DC3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #45339E

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

Preview Lab → · Contrast checker → · Palette generator →

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