#45195E#45195E

#45195E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.7% C 0.120 H 310.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#45195E
RGBrgb(69, 25, 94)
HSLhsl(278, 58%, 23%)
HSVhsv(278, 73%, 37%)
CMYKcmyk(26.6%, 73.4%, 0%, 63.1%)
CIE-LABlab(19.09, 33.83, -32.27)
CIE-LCHlch(19.09, 46.76, 316.36°)
OKLaboklab(31.74% 0.0781 -0.0912)
OKLCHoklch(31.74% 0.12 310.6)
XYZxyz(4.8219, 2.7687, 10.8679)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45195E #325E19
analogous
#22195E #45195E #5E1954
triadic
#45195E #5E4519 #195E45
tetradic
#45195E #5E2219 #325E19 #19545E
square
#45195E #5E2219 #325E19 #19545E
split-complementary
#45195E #545E19 #195E22
monochromatic
#120618 #220C2E #45195E #68268E #8C33BF

Accessibility & contrast

On white

13.52
#45195E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#45195E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45195E
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45195E#FFFFFF#000000##FFFFFF
##45195E1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#0F2F5C
Tritanopia (blue-blind)
#422839
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #45195e;
/* rgb */ color: rgb(69, 25, 94);
/* oklch */ color: oklch(31.7% 0.120 310.6);
Tailwind
colors: {
  custom: {
    50: '#7c5a8c',
    500: '#45195e',
    950: '#000000',
  },
}
SCSS
$custom: #45195e;
$custom-light: #7c5a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#45195e",
  "rgb": {
    "r": 69,
    "g": 25,
    "b": 94
  },
  "hsl": {
    "h": 278.261,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3174,
    "c": 0.12007,
    "h": 310.6
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#45195E
secondary
#5E943F
accent
#E1477F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #45195E

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

Preview Lab → · Contrast checker → · Palette generator →

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