#452175#452175

#452175 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.136 H 298.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#452175
RGBrgb(69, 33, 117)
HSLhsl(266, 56%, 29%)
HSVhsv(266, 72%, 46%)
CMYKcmyk(41%, 71.8%, 0%, 54.1%)
CIE-LABlab(22.43, 35.70, -41.85)
CIE-LCHlch(22.43, 55.01, 310.46°)
OKLaboklab(34.71% 0.0653 -0.1194)
OKLCHoklch(34.71% 0.136 298.7)
XYZxyz(6.2082, 3.6372, 17.2011)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452175 #517521
analogous
#212775 #452175 #6F2175
triadic
#452175 #754521 #217545
tetradic
#452175 #752127 #517521 #21756F
square
#452175 #752127 #517521 #21756F
split-complementary
#452175 #756F21 #277521
monochromatic
#0E0718 #291445 #452175 #612EA5 #7F46CB

Accessibility & contrast

On white

12.16
#452175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#452175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452175
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452175#FFFFFF#000000##FFFFFF
##4521751.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#3A3548
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #452175;
/* rgb */ color: rgb(69, 33, 117);
/* oklch */ color: oklch(34.7% 0.136 298.7);
Tailwind
colors: {
  custom: {
    50: '#7d5f9d',
    500: '#452175',
    950: '#000000',
  },
}
SCSS
$custom: #452175;
$custom-light: #7d5f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#452175",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 265.714,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34706,
    "c": 0.13609,
    "h": 298.7
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#452175
secondary
#80A84A
accent
#DF499F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #452175

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

Preview Lab → · Contrast checker → · Palette generator →

#452175 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva