#45215B#45215B

#45215B is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.7% C 0.104 H 310.5°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#45215B
RGBrgb(69, 33, 91)
HSLhsl(277, 47%, 24%)
HSVhsv(277, 64%, 36%)
CMYKcmyk(24.2%, 63.7%, 0%, 64.3%)
CIE-LABlab(20.47, 28.70, -28.06)
CIE-LCHlch(20.47, 40.14, 315.65°)
OKLaboklab(32.67% 0.0675 -0.0789)
OKLCHoklch(32.67% 0.104 310.5)
XYZxyz(4.8861, 3.1084, 10.2381)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45215B #375B21
analogous
#28215B #45215B #5B2154
triadic
#45215B #5B4521 #215B45
tetradic
#45215B #5B2821 #375B21 #21545B
square
#45215B #5B2821 #375B21 #21545B
split-complementary
#45215B #545B21 #215B28
monochromatic
#110816 #23112E #45215B #673188 #8942B5

Accessibility & contrast

On white

12.95
#45215B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#45215B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45215B
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45215B#FFFFFF#000000##FFFFFF
##45215B1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C305D
Deuteranopia (green-blind)
#1B325A
Tritanopia (blue-blind)
#422C3A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #45215b;
/* rgb */ color: rgb(69, 33, 91);
/* oklch */ color: oklch(32.7% 0.104 310.5);
Tailwind
colors: {
  custom: {
    50: '#7b5e8a',
    500: '#45215b',
    950: '#000000',
  },
}
SCSS
$custom: #45215b;
$custom-light: #7b5e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#45215b",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 277.241,
    "s": 46.774,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32668,
    "c": 0.10385,
    "h": 310.5
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#45215B
secondary
#638F49
accent
#D65184
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040B
muted
#7B797C

Preview Lab

Preview with #45215B

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

Preview Lab → · Contrast checker → · Palette generator →

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