#45185D#45185D

#45185D is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.120 H 311.3°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#45185D
RGBrgb(69, 24, 93)
HSLhsl(279, 59%, 23%)
HSVhsv(279, 74%, 36%)
CMYKcmyk(25.8%, 74.2%, 0%, 63.5%)
CIE-LABlab(18.84, 34.09, -32.01)
CIE-LCHlch(18.84, 46.76, 316.80°)
OKLaboklab(31.53% 0.0794 -0.0904)
OKLCHoklch(31.53% 0.12 311.3)
XYZxyz(4.7563, 2.7089, 10.6261)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45185D #305D18
analogous
#22185D #45185D #5D1852
triadic
#45185D #5D4518 #185D45
tetradic
#45185D #5D2218 #305D18 #18525D
square
#45185D #5D2218 #305D18 #18525D
split-complementary
#45185D #525D18 #185D22
monochromatic
#120618 #210B2C #45185D #69258E #8D31BE

Accessibility & contrast

On white

13.62
#45185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#45185D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45185D
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45185D#FFFFFF#000000##FFFFFF
##45185D1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#0F2F5B
Tritanopia (blue-blind)
#422738
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #45185d;
/* rgb */ color: rgb(69, 24, 93);
/* oklch */ color: oklch(31.5% 0.120 311.3);
Tailwind
colors: {
  custom: {
    50: '#7c598b',
    500: '#45185d',
    950: '#000000',
  },
}
SCSS
$custom: #45185d;
$custom-light: #7c598b;
$custom-dark: #000000;
JSON
{
  "hex": "#45185d",
  "rgb": {
    "r": 69,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 279.13,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31534,
    "c": 0.12038,
    "h": 311.3
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#45185D
secondary
#5B933D
accent
#E2467C
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #45185D

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

Preview Lab → · Contrast checker → · Palette generator →

#45185D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva