#452276#452276

#452276 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.136 H 298.1°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#452276
RGBrgb(69, 34, 118)
HSLhsl(265, 55%, 30%)
HSVhsv(265, 71%, 46%)
CMYKcmyk(41.5%, 71.2%, 0%, 53.7%)
CIE-LABlab(22.71, 35.43, -42.04)
CIE-LCHlch(22.71, 54.98, 310.13°)
OKLaboklab(34.93% 0.064 -0.12)
OKLCHoklch(34.93% 0.136 298.1)
XYZxyz(6.2955, 3.7172, 17.5218)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452276 #537622
analogous
#222976 #452276 #6F2276
triadic
#452276 #764522 #227645
tetradic
#452276 #762229 #537622 #22766F
square
#452276 #762229 #537622 #22766F
split-complementary
#452276 #766F22 #297622
monochromatic
#0E0718 #291446 #452276 #6130A6 #7E48CA

Accessibility & contrast

On white

12.05
#452276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#452276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452276
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452276#FFFFFF#000000##FFFFFF
##4522761.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#393649
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #452276;
/* rgb */ color: rgb(69, 34, 118);
/* oklch */ color: oklch(34.9% 0.136 298.1);
Tailwind
colors: {
  custom: {
    50: '#7d609e',
    500: '#452276',
    950: '#000000',
  },
}
SCSS
$custom: #452276;
$custom-light: #7d609e;
$custom-dark: #000000;
JSON
{
  "hex": "#452276",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 265,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34931,
    "c": 0.13596,
    "h": 298.1
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#452276
secondary
#82A94B
accent
#DF49A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #452276

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

Preview Lab → · Contrast checker → · Palette generator →

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