#45155F#45155F

#45155F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.127 H 310.7°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#45155F
RGBrgb(69, 21, 95)
HSLhsl(279, 64%, 23%)
HSVhsv(279, 78%, 37%)
CMYKcmyk(27.4%, 77.9%, 0%, 62.7%)
CIE-LABlab(18.49, 36.00, -33.91)
CIE-LCHlch(18.49, 49.46, 316.71°)
OKLaboklab(31.33% 0.0826 -0.096)
OKLCHoklch(31.33% 0.127 310.7)
XYZxyz(4.7876, 2.6279, 11.0793)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45155F #2F5F15
analogous
#20155F #45155F #5F1554
triadic
#45155F #5F4515 #155F45
tetradic
#45155F #5F2015 #2F5F15 #15545F
square
#45155F #5F2015 #2F5F15 #15545F
split-complementary
#45155F #545F15 #155F20
monochromatic
#120619 #210A2D #45155F #692091 #8E2BC3

Accessibility & contrast

On white

13.77
#45155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#45155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45155F
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45155F#FFFFFF#000000##FFFFFF
##45155F1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#072E5D
Tritanopia (blue-blind)
#422639
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #45155f;
/* rgb */ color: rgb(69, 21, 95);
/* oklch */ color: oklch(31.3% 0.127 310.7);
Tailwind
colors: {
  custom: {
    50: '#7c588d',
    500: '#45155f',
    950: '#000000',
  },
}
SCSS
$custom: #45155f;
$custom-light: #7c588d;
$custom-dark: #000000;
JSON
{
  "hex": "#45155f",
  "rgb": {
    "r": 69,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 278.919,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31333,
    "c": 0.12664,
    "h": 310.7
  },
  "luminance": 0.02628
}

Semantic roles & 50–950 ramp

primary
#45155F
secondary
#5A963A
accent
#E7417B
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #45155F

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

Preview Lab → · Contrast checker → · Palette generator →

#45155F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva