#452270#452270

#452270 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.129 H 300.3°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#452270
RGBrgb(69, 34, 112)
HSLhsl(267, 53%, 29%)
HSVhsv(267, 70%, 44%)
CMYKcmyk(38.4%, 69.6%, 0%, 56.1%)
CIE-LABlab(22.23, 33.76, -38.97)
CIE-LCHlch(22.23, 51.56, 310.90°)
OKLaboklab(34.43% 0.0649 -0.1109)
OKLCHoklch(34.43% 0.129 300.3)
XYZxyz(5.9502, 3.5791, 15.7034)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452270 #4D7022
analogous
#222670 #452270 #6C2270
triadic
#452270 #704522 #227045
tetradic
#452270 #702226 #4D7022 #22706C
square
#452270 #702226 #4D7022 #22706C
split-complementary
#452270 #706C22 #267022
monochromatic
#0E0717 #281441 #452270 #62309F #8046C7

Accessibility & contrast

On white

12.24
#452270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#452270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452270
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452270#FFFFFF#000000##FFFFFF
##4522701.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#00356E
Tritanopia (blue-blind)
#3C3446
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #452270;
/* rgb */ color: rgb(69, 34, 112);
/* oklch */ color: oklch(34.4% 0.129 300.3);
Tailwind
colors: {
  custom: {
    50: '#7d609a',
    500: '#452270',
    950: '#000000',
  },
}
SCSS
$custom: #452270;
$custom-light: #7d609a;
$custom-dark: #000000;
JSON
{
  "hex": "#452270",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 266.923,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34431,
    "c": 0.12852,
    "h": 300.3
  },
  "luminance": 0.03579
}

Semantic roles & 50–950 ramp

primary
#452270
secondary
#7BA34A
accent
#DD4B9B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #452270

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

Preview Lab → · Contrast checker → · Palette generator →

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