#45289A#45289A

#45289A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.173 H 287.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#45289A
RGBrgb(69, 40, 154)
HSLhsl(255, 59%, 38%)
HSVhsv(255, 74%, 60%)
CMYKcmyk(55.2%, 74%, 0%, 39.6%)
CIE-LABlab(27.06, 42.66, -57.44)
CIE-LCHlch(27.06, 71.55, 306.60°)
OKLaboklab(39.01% 0.0507 -0.1652)
OKLCHoklch(39.01% 0.173 287.1)
XYZxyz(9.0440, 5.1154, 31.0764)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45289A #7D9A28
analogous
#28449A #45289A #7E289A
triadic
#45289A #9A4528 #289A45
tetradic
#45289A #9A2844 #7D9A28 #289A7E
square
#45289A #9A2844 #7D9A28 #289A7E
split-complementary
#45289A #9A7E28 #449A28
monochromatic
#190F39 #2F1B69 #45289A #5B35CA #8265D7

Accessibility & contrast

On white

10.38
#45289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#45289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45289A
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45289A#FFFFFF#000000##FFFFFF
##45289A1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#21475E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45289a;
/* rgb */ color: rgb(69, 40, 154);
/* oklch */ color: oklch(39.0% 0.173 287.1);
Tailwind
colors: {
  custom: {
    50: '#8265b9',
    500: '#45289a',
    950: '#000000',
  },
}
SCSS
$custom: #45289a;
$custom-light: #8265b9;
$custom-dark: #000000;
JSON
{
  "hex": "#45289a",
  "rgb": {
    "r": 69,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 255.263,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39008,
    "c": 0.17281,
    "h": 287.1
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#45289A
secondary
#A6BD61
accent
#E246BA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #45289A

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

Preview Lab → · Contrast checker → · Palette generator →

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