#45145E#45145E

#45145E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.127 H 311.4°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#45145E
RGBrgb(69, 20, 94)
HSLhsl(280, 65%, 22%)
HSVhsv(280, 79%, 37%)
CMYKcmyk(26.6%, 78.7%, 0%, 63.1%)
CIE-LABlab(18.25, 36.21, -33.63)
CIE-LCHlch(18.25, 49.42, 317.12°)
OKLaboklab(31.14% 0.0839 -0.0952)
OKLCHoklch(31.14% 0.127 311.4)
XYZxyz(4.7244, 2.5738, 10.8354)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45145E #2D5E14
analogous
#20145E #45145E #5E1452
triadic
#45145E #5E4514 #145E45
tetradic
#45145E #5E2014 #2D5E14 #14525E
square
#45145E #5E2014 #2D5E14 #14525E
split-complementary
#45145E #525E14 #145E20
monochromatic
#130519 #20092C #45145E #6A1F90 #8F29C3

Accessibility & contrast

On white

13.86
#45145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#45145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45145E
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45145E#FFFFFF#000000##FFFFFF
##45145E1.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#082D5C
Tritanopia (blue-blind)
#422538
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #45145e;
/* rgb */ color: rgb(69, 20, 94);
/* oklch */ color: oklch(31.1% 0.127 311.4);
Tailwind
colors: {
  custom: {
    50: '#7c578c',
    500: '#45145e',
    950: '#000000',
  },
}
SCSS
$custom: #45145e;
$custom-light: #7c578c;
$custom-dark: #000000;
JSON
{
  "hex": "#45145e",
  "rgb": {
    "r": 69,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 279.73,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31139,
    "c": 0.12685,
    "h": 311.4
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#45145E
secondary
#589638
accent
#E84079
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #45145E

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

Preview Lab → · Contrast checker → · Palette generator →

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