#45165F#45165F

#45165F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.125 H 310.6°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#45165F
RGBrgb(69, 22, 95)
HSLhsl(279, 62%, 23%)
HSVhsv(279, 77%, 37%)
CMYKcmyk(27.4%, 76.8%, 0%, 62.7%)
CIE-LABlab(18.65, 35.54, -33.65)
CIE-LCHlch(18.65, 48.94, 316.57°)
OKLaboklab(31.45% 0.0815 -0.0952)
OKLCHoklch(31.45% 0.125 310.6)
XYZxyz(4.8063, 2.6654, 11.0855)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45165F #305F16
analogous
#20165F #45165F #5F1654
triadic
#45165F #5F4516 #165F45
tetradic
#45165F #5F2016 #305F16 #16545F
square
#45165F #5F2016 #305F16 #16545F
split-complementary
#45165F #545F16 #165F20
monochromatic
#120619 #210A2D #45165F #692291 #8D2DC2

Accessibility & contrast

On white

13.70
#45165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45165F
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45165F#FFFFFF#000000##FFFFFF
##45165F1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45165f;
/* rgb */ color: rgb(69, 22, 95);
/* oklch */ color: oklch(31.4% 0.125 310.6);
Tailwind
colors: {
  custom: {
    50: '#7c588d',
    500: '#45165f',
    950: '#000000',
  },
}
SCSS
$custom: #45165f;
$custom-light: #7c588d;
$custom-dark: #000000;
JSON
{
  "hex": "#45165f",
  "rgb": {
    "r": 69,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 278.63,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31449,
    "c": 0.12534,
    "h": 310.6
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#45165F
secondary
#5B963B
accent
#E5427C
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #45165F

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

Preview Lab → · Contrast checker → · Palette generator →

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