#452873#452873

#452873 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.123 H 297.6°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#452873
RGBrgb(69, 40, 115)
HSLhsl(263, 48%, 30%)
HSVhsv(263, 65%, 45%)
CMYKcmyk(40%, 65.2%, 0%, 54.9%)
CIE-LABlab(23.74, 31.13, -38.46)
CIE-LCHlch(23.74, 49.48, 308.99°)
OKLaboklab(35.6% 0.0571 -0.1094)
OKLCHoklch(35.6% 0.123 297.6)
XYZxyz(6.3068, 4.0205, 16.6601)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452873 #567328
analogous
#283073 #452873 #6A2873
triadic
#452873 #734528 #287345
tetradic
#452873 #732830 #567328 #28736A
square
#452873 #732830 #567328 #28736A
split-complementary
#452873 #736A28 #307328
monochromatic
#0F0818 #2A1846 #452873 #6038A0 #7E52C3

Accessibility & contrast

On white

11.64
#452873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#452873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452873
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452873#FFFFFF#000000##FFFFFF
##4528731.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#033871
Tritanopia (blue-blind)
#3A3949
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #452873;
/* rgb */ color: rgb(69, 40, 115);
/* oklch */ color: oklch(35.6% 0.123 297.6);
Tailwind
colors: {
  custom: {
    50: '#7c639c',
    500: '#452873',
    950: '#000000',
  },
}
SCSS
$custom: #452873;
$custom-light: #7c639c;
$custom-dark: #000000;
JSON
{
  "hex": "#452873",
  "rgb": {
    "r": 69,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 263.2,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35596,
    "c": 0.12346,
    "h": 297.6
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

primary
#452873
secondary
#85A552
accent
#D850A3
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #452873

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

Preview Lab → · Contrast checker → · Palette generator →

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