#45245C#45245C

#45245C is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.2% C 0.100 H 309.2°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#45245C
RGBrgb(69, 36, 92)
HSLhsl(275, 44%, 25%)
HSVhsv(275, 61%, 36%)
CMYKcmyk(25%, 60.9%, 0%, 63.9%)
CIE-LABlab(21.21, 27.18, -27.55)
CIE-LCHlch(21.21, 38.70, 314.61°)
OKLaboklab(33.23% 0.0631 -0.0774)
OKLCHoklch(33.23% 0.1 309.2)
XYZxyz(5.0165, 3.2998, 10.4958)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45245C #3B5C24
analogous
#29245C #45245C #5C2457
triadic
#45245C #5C4524 #245C45
tetradic
#45245C #5C2924 #3B5C24 #24575C
square
#45245C #5C2924 #3B5C24 #24575C
split-complementary
#45245C #575C24 #245C29
monochromatic
#100916 #241330 #45245C #663588 #8746B4

Accessibility & contrast

On white

12.65
#45245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#45245C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45245C
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45245C#FFFFFF#000000##FFFFFF
##45245C1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11325E
Deuteranopia (green-blind)
#1E335B
Tritanopia (blue-blind)
#422E3C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #45245c;
/* rgb */ color: rgb(69, 36, 92);
/* oklch */ color: oklch(33.2% 0.100 309.2);
Tailwind
colors: {
  custom: {
    50: '#7b608a',
    500: '#45245c',
    950: '#000000',
  },
}
SCSS
$custom: #45245c;
$custom-light: #7b608a;
$custom-dark: #000000;
JSON
{
  "hex": "#45245c",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 275.357,
    "s": 43.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33226,
    "c": 0.09991,
    "h": 309.2
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#45245C
secondary
#68904C
accent
#D35489
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #45245C

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

Preview Lab → · Contrast checker → · Palette generator →

#45245C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva