#452792#452792

#452792 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.164 H 289.0°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#452792
RGBrgb(69, 39, 146)
HSLhsl(257, 58%, 36%)
HSVhsv(257, 73%, 57%)
CMYKcmyk(52.7%, 73.3%, 0%, 42.7%)
CIE-LABlab(26.13, 40.82, -54.04)
CIE-LCHlch(26.13, 67.73, 307.06°)
OKLaboklab(38.12% 0.0534 -0.1552)
OKLCHoklch(38.12% 0.164 289)
XYZxyz(8.3666, 4.7912, 27.6725)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452792 #749227
analogous
#273F92 #452792 #7B2792
triadic
#452792 #924527 #279245
tetradic
#452792 #92273F #749227 #27927B
square
#452792 #92273F #749227 #27927B
split-complementary
#452792 #927B27 #3F9227
monochromatic
#170D31 #2E1A62 #452792 #5C34C2 #805FD4

Accessibility & contrast

On white

10.72
#452792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#452792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452792
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452792#FFFFFF#000000##FFFFFF
##4527921.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#29435A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #452792;
/* rgb */ color: rgb(69, 39, 146);
/* oklch */ color: oklch(38.1% 0.164 289.0);
Tailwind
colors: {
  custom: {
    50: '#8164b3',
    500: '#452792',
    950: '#000000',
  },
}
SCSS
$custom: #452792;
$custom-light: #8164b3;
$custom-dark: #000000;
JSON
{
  "hex": "#452792",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 256.822,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38123,
    "c": 0.16418,
    "h": 289
  },
  "luminance": 0.04792
}

Semantic roles & 50–950 ramp

primary
#452792
secondary
#9FBA5B
accent
#E147B6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #452792

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

Preview Lab → · Contrast checker → · Palette generator →

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