#452277#452277

#452277 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.137 H 297.7°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#452277
RGBrgb(69, 34, 119)
HSLhsl(265, 56%, 30%)
HSVhsv(265, 71%, 47%)
CMYKcmyk(42%, 71.4%, 0%, 53.3%)
CIE-LABlab(22.80, 35.71, -42.54)
CIE-LCHlch(22.80, 55.55, 310.01°)
OKLaboklab(35.02% 0.0638 -0.1214)
OKLCHoklch(35.02% 0.137 297.7)
XYZxyz(6.3552, 3.7411, 17.8365)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452277 #547722
analogous
#222977 #452277 #702277
triadic
#452277 #774522 #227745
tetradic
#452277 #772229 #547722 #227770
square
#452277 #772229 #547722 #227770
split-complementary
#452277 #777022 #297722
monochromatic
#0E0718 #291447 #452277 #6130A7 #7E49CB

Accessibility & contrast

On white

12.01
#452277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#452277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452277
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452277#FFFFFF#000000##FFFFFF
##4522771.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#393649
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #452277;
/* rgb */ color: rgb(69, 34, 119);
/* oklch */ color: oklch(35.0% 0.137 297.7);
Tailwind
colors: {
  custom: {
    50: '#7d609f',
    500: '#452277',
    950: '#000000',
  },
}
SCSS
$custom: #452277;
$custom-light: #7d609f;
$custom-dark: #000000;
JSON
{
  "hex": "#452277",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 264.706,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.35017,
    "c": 0.13719,
    "h": 297.7
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#452277
secondary
#83AA4B
accent
#DF49A1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #452277

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

Preview Lab → · Contrast checker → · Palette generator →

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