#45195F#45195F

#45195F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.121 H 310.0°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#45195F
RGBrgb(69, 25, 95)
HSLhsl(278, 58%, 24%)
HSVhsv(278, 74%, 37%)
CMYKcmyk(27.4%, 73.7%, 0%, 62.7%)
CIE-LABlab(19.17, 34.08, -32.81)
CIE-LCHlch(19.17, 47.31, 316.09°)
OKLaboklab(31.82% 0.078 -0.0928)
OKLCHoklch(31.82% 0.121 310)
XYZxyz(4.8670, 2.7868, 11.1058)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45195F #335F19
analogous
#22195F #45195F #5F1956
triadic
#45195F #5F4519 #195F45
tetradic
#45195F #5F2219 #335F19 #19565F
square
#45195F #5F2219 #335F19 #19565F
split-complementary
#45195F #565F19 #195F22
monochromatic
#120618 #220C2F #45195F #68268F #8B32C0

Accessibility & contrast

On white

13.48
#45195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#45195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45195F
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45195F#FFFFFF#000000##FFFFFF
##45195F1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#0D2F5D
Tritanopia (blue-blind)
#41283A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #45195f;
/* rgb */ color: rgb(69, 25, 95);
/* oklch */ color: oklch(31.8% 0.121 310.0);
Tailwind
colors: {
  custom: {
    50: '#7c5a8d',
    500: '#45195f',
    950: '#000000',
  },
}
SCSS
$custom: #45195f;
$custom-light: #7c5a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#45195f",
  "rgb": {
    "r": 69,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 277.714,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31818,
    "c": 0.12121,
    "h": 310
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#45195F
secondary
#5F953F
accent
#E24680
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #45195F

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

Preview Lab → · Contrast checker → · Palette generator →

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