#452272#452272

#452272 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.131 H 299.5°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#452272
RGBrgb(69, 34, 114)
HSLhsl(266, 54%, 29%)
HSVhsv(266, 70%, 45%)
CMYKcmyk(39.5%, 70.2%, 0%, 55.3%)
CIE-LABlab(22.39, 34.31, -40.00)
CIE-LCHlch(22.39, 52.70, 310.62°)
OKLaboklab(34.6% 0.0646 -0.114)
OKLCHoklch(34.6% 0.131 299.5)
XYZxyz(6.0628, 3.6241, 16.2964)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452272 #4F7222
analogous
#222772 #452272 #6D2272
triadic
#452272 #724522 #227245
tetradic
#452272 #722227 #4F7222 #22726D
square
#452272 #722227 #4F7222 #22726D
split-complementary
#452272 #726D22 #277222
monochromatic
#0E0718 #281443 #452272 #6230A1 #7F46C8

Accessibility & contrast

On white

12.18
#452272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452272
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452272#FFFFFF#000000##FFFFFF
##4522721.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#3B3547
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #452272;
/* rgb */ color: rgb(69, 34, 114);
/* oklch */ color: oklch(34.6% 0.131 299.5);
Tailwind
colors: {
  custom: {
    50: '#7d609b',
    500: '#452272',
    950: '#000000',
  },
}
SCSS
$custom: #452272;
$custom-light: #7d609b;
$custom-dark: #000000;
JSON
{
  "hex": "#452272",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 266.25,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34596,
    "c": 0.13101,
    "h": 299.5
  },
  "luminance": 0.03624
}

Semantic roles & 50–950 ramp

primary
#452272
secondary
#7EA54B
accent
#DD4A9D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #452272

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

Preview Lab → · Contrast checker → · Palette generator →

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