#45327A#45327A

#45327A is a dark, moderate violet. Relative luminance 0.050; OKLCH L 37.9% C 0.118 H 292.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#45327A
RGBrgb(69, 50, 122)
HSLhsl(256, 42%, 34%)
HSVhsv(256, 59%, 48%)
CMYKcmyk(43.4%, 59%, 0%, 52.2%)
CIE-LABlab(26.60, 27.04, -38.30)
CIE-LCHlch(26.60, 46.89, 305.22°)
OKLaboklab(37.85% 0.044 -0.109)
OKLCHoklch(37.85% 0.118 292)
XYZxyz(7.1067, 4.9513, 18.9898)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45327A #677A32
analogous
#32437A #45327A #69327A
triadic
#45327A #7A4532 #327A45
tetradic
#45327A #7A3243 #677A32 #327A69
square
#45327A #7A3243 #677A32 #327A69
split-complementary
#45327A #7A6932 #437A32
monochromatic
#140E23 #2C204F #45327A #5E44A5 #7E66C0

Accessibility & contrast

On white

10.55
#45327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#45327A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45327A
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45327A#FFFFFF#000000##FFFFFF
##45327A1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09407C
Deuteranopia (green-blind)
#0F3D78
Tritanopia (blue-blind)
#364251
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45327a;
/* rgb */ color: rgb(69, 50, 122);
/* oklch */ color: oklch(37.9% 0.118 292.0);
Tailwind
colors: {
  custom: {
    50: '#7d6aa1',
    500: '#45327a',
    950: '#000000',
  },
}
SCSS
$custom: #45327a;
$custom-light: #7d6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#45327a",
  "rgb": {
    "r": 69,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 255.833,
    "s": 41.86,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3785,
    "c": 0.11754,
    "h": 292
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#45327A
secondary
#95A860
accent
#D256B1
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #45327A

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

Preview Lab → · Contrast checker → · Palette generator →

#45327A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva