#452479#452479

#452479 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.137 H 296.6°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#452479
RGBrgb(69, 36, 121)
HSLhsl(263, 54%, 31%)
HSVhsv(263, 70%, 47%)
CMYKcmyk(43%, 70.2%, 0%, 52.5%)
CIE-LABlab(23.36, 35.17, -42.90)
CIE-LCHlch(23.36, 55.47, 309.35°)
OKLaboklab(35.47% 0.0613 -0.1225)
OKLCHoklch(35.47% 0.137 296.6)
XYZxyz(6.5354, 3.9073, 18.4953)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452479 #587924
analogous
#242D79 #452479 #6F2479
triadic
#452479 #794524 #247945
tetradic
#452479 #79242D #587924 #24796F
square
#452479 #79242D #587924 #24796F
split-complementary
#452479 #796F24 #2D7924
monochromatic
#0F081B #2A164A #452479 #6032A8 #7E4DCA

Accessibility & contrast

On white

11.79
#452479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#452479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452479
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452479#FFFFFF#000000##FFFFFF
##4524791.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#38384B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #452479;
/* rgb */ color: rgb(69, 36, 121);
/* oklch */ color: oklch(35.5% 0.137 296.6);
Tailwind
colors: {
  custom: {
    50: '#7e61a0',
    500: '#452479',
    950: '#000000',
  },
}
SCSS
$custom: #452479;
$custom-light: #7e61a0;
$custom-dark: #000000;
JSON
{
  "hex": "#452479",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 263.294,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35474,
    "c": 0.13696,
    "h": 296.6
  },
  "luminance": 0.03907
}

Semantic roles & 50–950 ramp

primary
#452479
secondary
#87AC4D
accent
#DE4AA4
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #452479

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

Preview Lab → · Contrast checker → · Palette generator →

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