#452170#452170

#452170 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.130 H 300.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#452170
RGBrgb(69, 33, 112)
HSLhsl(267, 54%, 28%)
HSVhsv(267, 71%, 44%)
CMYKcmyk(38.4%, 70.5%, 0%, 56.1%)
CIE-LABlab(22.03, 34.31, -39.30)
CIE-LCHlch(22.03, 52.17, 311.12°)
OKLaboklab(34.29% 0.0661 -0.1119)
OKLCHoklch(34.29% 0.13 300.6)
XYZxyz(5.9220, 3.5227, 15.6940)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452170 #4C7021
analogous
#212470 #452170 #6C2170
triadic
#452170 #704521 #217045
tetradic
#452170 #702124 #4C7021 #21706C
square
#452170 #702124 #4C7021 #21706C
split-complementary
#452170 #706C21 #247021
monochromatic
#0F0718 #281341 #452170 #622F9F #8044C8

Accessibility & contrast

On white

12.32
#452170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#452170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452170
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452170#FFFFFF#000000##FFFFFF
##4521701.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#3C3345
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #452170;
/* rgb */ color: rgb(69, 33, 112);
/* oklch */ color: oklch(34.3% 0.130 300.6);
Tailwind
colors: {
  custom: {
    50: '#7d5f9a',
    500: '#452170',
    950: '#000000',
  },
}
SCSS
$custom: #452170;
$custom-light: #7d5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#452170",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 267.342,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34286,
    "c": 0.12995,
    "h": 300.6
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#452170
secondary
#7AA449
accent
#DE4A9A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #452170

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

Preview Lab → · Contrast checker → · Palette generator →

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