#452998#452998

#452998 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.169 H 287.3°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#452998
RGBrgb(69, 41, 152)
HSLhsl(255, 58%, 38%)
HSVhsv(255, 73%, 60%)
CMYKcmyk(54.6%, 73%, 0%, 40.4%)
CIE-LABlab(27.07, 41.53, -56.20)
CIE-LCHlch(27.07, 69.88, 306.46°)
OKLaboklab(38.96% 0.0503 -0.1616)
OKLCHoklch(38.96% 0.169 287.3)
XYZxyz(8.9130, 5.1176, 30.2178)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452998 #7C9829
analogous
#294498 #452998 #7C2998
triadic
#452998 #984529 #299845
tetradic
#452998 #982944 #7C9829 #29987C
square
#452998 #982944 #7C9829 #29987C
split-complementary
#452998 #987C29 #449829
monochromatic
#190F38 #2F1C68 #452998 #5B36C8 #8266D6

Accessibility & contrast

On white

10.38
#452998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#452998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452998
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452998#FFFFFF#000000##FFFFFF
##4529981.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#23475E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #452998;
/* rgb */ color: rgb(69, 41, 152);
/* oklch */ color: oklch(39.0% 0.169 287.3);
Tailwind
colors: {
  custom: {
    50: '#8265b7',
    500: '#452998',
    950: '#000000',
  },
}
SCSS
$custom: #452998;
$custom-light: #8265b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452998",
  "rgb": {
    "r": 69,
    "g": 41,
    "b": 152
  },
  "hsl": {
    "h": 255.135,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38956,
    "c": 0.16923,
    "h": 287.3
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#452998
secondary
#A5BC61
accent
#E147BA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #452998

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

Preview Lab → · Contrast checker → · Palette generator →

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