#45296B#45296B

#45296B is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.1% C 0.111 H 300.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#45296B
RGBrgb(69, 41, 107)
HSLhsl(265, 45%, 29%)
HSVhsv(265, 62%, 42%)
CMYKcmyk(35.5%, 61.7%, 0%, 58%)
CIE-LABlab(23.38, 28.24, -33.89)
CIE-LCHlch(23.38, 44.11, 309.80°)
OKLaboklab(35.15% 0.0561 -0.096)
OKLCHoklch(35.15% 0.111 300.3)
XYZxyz(5.9004, 3.9126, 14.3514)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45296B #4F6B29
analogous
#292E6B #45296B #66296B
triadic
#45296B #6B4529 #296B45
tetradic
#45296B #6B292E #4F6B29 #296B66
square
#45296B #6B292E #4F6B29 #296B66
split-complementary
#45296B #6B6629 #2E6B29
monochromatic
#0E0816 #28183F #45296B #623A97 #7F52BD

Accessibility & contrast

On white

11.78
#45296B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#45296B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45296B
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45296B#FFFFFF#000000##FFFFFF
##45296B1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08376D
Deuteranopia (green-blind)
#15376A
Tritanopia (blue-blind)
#3D3745
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #45296b;
/* rgb */ color: rgb(69, 41, 107);
/* oklch */ color: oklch(35.1% 0.111 300.3);
Tailwind
colors: {
  custom: {
    50: '#7c6496',
    500: '#45296b',
    950: '#000000',
  },
}
SCSS
$custom: #45296b;
$custom-light: #7c6496;
$custom-dark: #000000;
JSON
{
  "hex": "#45296b",
  "rgb": {
    "r": 69,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 265.455,
    "s": 44.595,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35147,
    "c": 0.11123,
    "h": 300.3
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#45296B
secondary
#7E9D52
accent
#D4539E
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050D
muted
#7C7A7E

Preview Lab

Preview with #45296B

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

Preview Lab → · Contrast checker → · Palette generator →

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