#45239A#45239A

#45239A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.178 H 287.9°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#45239A
RGBrgb(69, 35, 154)
HSLhsl(257, 63%, 37%)
HSVhsv(257, 77%, 60%)
CMYKcmyk(55.2%, 77.3%, 0%, 39.6%)
CIE-LABlab(26.16, 45.22, -58.92)
CIE-LCHlch(26.16, 74.28, 307.51°)
OKLaboklab(38.37% 0.0547 -0.1695)
OKLCHoklch(38.37% 0.178 287.9)
XYZxyz(8.8863, 4.7999, 31.0238)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45239A #789A23
analogous
#233C9A #45239A #81239A
triadic
#45239A #9A4523 #239A45
tetradic
#45239A #9A233C #789A23 #239A81
square
#45239A #9A233C #789A23 #239A81
split-complementary
#45239A #9A8123 #3C9A23
monochromatic
#180C36 #2F1868 #45239A #5B2ECC #815DDA

Accessibility & contrast

On white

10.71
#45239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#45239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45239A
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45239A#FFFFFF#000000##FFFFFF
##45239A1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#22455D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #45239a;
/* rgb */ color: rgb(69, 35, 154);
/* oklch */ color: oklch(38.4% 0.178 287.9);
Tailwind
colors: {
  custom: {
    50: '#8362b9',
    500: '#45239a',
    950: '#000000',
  },
}
SCSS
$custom: #45239a;
$custom-light: #8362b9;
$custom-dark: #000000;
JSON
{
  "hex": "#45239a",
  "rgb": {
    "r": 69,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 257.143,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38371,
    "c": 0.17812,
    "h": 287.9
  },
  "luminance": 0.048
}

Semantic roles & 50–950 ramp

primary
#45239A
secondary
#A2BF5A
accent
#E642B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #45239A

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

Preview Lab → · Contrast checker → · Palette generator →

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