#45296F#45296F

#45296F is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.4% C 0.117 H 298.7°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#45296F
RGBrgb(69, 41, 111)
HSLhsl(264, 46%, 30%)
HSVhsv(264, 63%, 44%)
CMYKcmyk(37.8%, 63.1%, 0%, 56.5%)
CIE-LABlab(23.67, 29.38, -36.00)
CIE-LCHlch(23.67, 46.47, 309.21°)
OKLaboklab(35.45% 0.0561 -0.1022)
OKLCHoklch(35.45% 0.117 298.7)
XYZxyz(6.1157, 3.9987, 15.4855)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45296F #536F29
analogous
#29306F #45296F #68296F
triadic
#45296F #6F4529 #296F45
tetradic
#45296F #6F2930 #536F29 #296F68
square
#45296F #6F2930 #536F29 #296F68
split-complementary
#45296F #6F6829 #306F29
monochromatic
#0E0816 #291842 #45296F #613A9C #7E53BF

Accessibility & contrast

On white

11.67
#45296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#45296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45296F
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45296F#FFFFFF#000000##FFFFFF
##45296F1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#0F386D
Tritanopia (blue-blind)
#3C3848
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #45296f;
/* rgb */ color: rgb(69, 41, 111);
/* oklch */ color: oklch(35.4% 0.117 298.7);
Tailwind
colors: {
  custom: {
    50: '#7c6499',
    500: '#45296f',
    950: '#000000',
  },
}
SCSS
$custom: #45296f;
$custom-light: #7c6499;
$custom-dark: #000000;
JSON
{
  "hex": "#45296f",
  "rgb": {
    "r": 69,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 264,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35449,
    "c": 0.1166,
    "h": 298.7
  },
  "luminance": 0.03999
}

Semantic roles & 50–950 ramp

primary
#45296F
secondary
#82A153
accent
#D652A1
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #45296F

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

Preview Lab → · Contrast checker → · Palette generator →

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