#452273#452273

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

Color values

HEX#452273
RGBrgb(69, 34, 115)
HSLhsl(266, 54%, 29%)
HSVhsv(266, 70%, 45%)
CMYKcmyk(40%, 70.4%, 0%, 54.9%)
CIE-LABlab(22.47, 34.59, -40.51)
CIE-LCHlch(22.47, 53.27, 310.49°)
OKLaboklab(34.68% 0.0644 -0.1155)
OKLCHoklch(34.68% 0.132 299.2)
XYZxyz(6.1200, 3.6470, 16.5978)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452273 #507322
analogous
#222873 #452273 #6E2273
triadic
#452273 #734522 #227345
tetradic
#452273 #732228 #507322 #22736E
square
#452273 #732228 #507322 #22736E
split-complementary
#452273 #736E22 #287322
monochromatic
#0E0718 #291444 #452273 #6130A2 #7F47C9

Accessibility & contrast

On white

12.14
#452273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452273
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452273#FFFFFF#000000##FFFFFF
##4522731.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#3A3547
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #452273;
/* rgb */ color: rgb(69, 34, 115);
/* oklch */ color: oklch(34.7% 0.132 299.2);
Tailwind
colors: {
  custom: {
    50: '#7d609c',
    500: '#452273',
    950: '#000000',
  },
}
SCSS
$custom: #452273;
$custom-light: #7d609c;
$custom-dark: #000000;
JSON
{
  "hex": "#452273",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 265.926,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34679,
    "c": 0.13225,
    "h": 299.2
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#452273
secondary
#7FA64B
accent
#DE4A9E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #452273

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

Preview Lab → · Contrast checker → · Palette generator →

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