#45215D#45215D

#45215D is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.8% C 0.106 H 309.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#45215D
RGBrgb(69, 33, 93)
HSLhsl(276, 48%, 25%)
HSVhsv(276, 65%, 36%)
CMYKcmyk(25.8%, 64.5%, 0%, 63.5%)
CIE-LABlab(20.61, 29.22, -29.17)
CIE-LCHlch(20.61, 41.29, 315.05°)
OKLaboklab(32.81% 0.0675 -0.0822)
OKLCHoklch(32.81% 0.106 309.4)
XYZxyz(4.9735, 3.1433, 10.6985)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45215D #395D21
analogous
#27215D #45215D #5D2157
triadic
#45215D #5D4521 #215D45
tetradic
#45215D #5D2721 #395D21 #21575D
square
#45215D #5D2721 #395D21 #21575D
split-complementary
#45215D #575D21 #215D27
monochromatic
#110817 #231130 #45215D #67318A #8841B7

Accessibility & contrast

On white

12.89
#45215D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#45215D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45215D
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45215D#FFFFFF#000000##FFFFFF
##45215D1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09305F
Deuteranopia (green-blind)
#19325C
Tritanopia (blue-blind)
#422C3B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #45215d;
/* rgb */ color: rgb(69, 33, 93);
/* oklch */ color: oklch(32.8% 0.106 309.4);
Tailwind
colors: {
  custom: {
    50: '#7b5e8b',
    500: '#45215d',
    950: '#000000',
  },
}
SCSS
$custom: #45215d;
$custom-light: #7b5e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#45215d",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 276,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32811,
    "c": 0.10634,
    "h": 309.4
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#45215D
secondary
#669149
accent
#D75186
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #45215D

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

Preview Lab → · Contrast checker → · Palette generator →

#45215D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva