#452388#452388

#452388 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.157 H 292.3°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#452388
RGBrgb(69, 35, 136)
HSLhsl(260, 59%, 34%)
HSVhsv(260, 74%, 53%)
CMYKcmyk(49.3%, 74.3%, 0%, 46.7%)
CIE-LABlab(24.46, 40.03, -50.56)
CIE-LCHlch(24.46, 64.49, 308.37°)
OKLaboklab(36.66% 0.0594 -0.145)
OKLCHoklch(36.66% 0.157 292.3)
XYZxyz(7.4980, 4.2446, 23.7120)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452388 #668823
analogous
#233388 #452388 #772388
triadic
#452388 #884523 #238845
tetradic
#452388 #882333 #668823 #238877
square
#452388 #882333 #668823 #238877
split-complementary
#452388 #887723 #338823
monochromatic
#140A27 #2C1657 #452388 #5E30B9 #7E53D3

Accessibility & contrast

On white

11.36
#452388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#452388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452388
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452388#FFFFFF#000000##FFFFFF
##4523881.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#303D53
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #452388;
/* rgb */ color: rgb(69, 35, 136);
/* oklch */ color: oklch(36.7% 0.157 292.3);
Tailwind
colors: {
  custom: {
    50: '#8061ac',
    500: '#452388',
    950: '#000000',
  },
}
SCSS
$custom: #452388;
$custom-light: #8061ac;
$custom-dark: #000000;
JSON
{
  "hex": "#452388",
  "rgb": {
    "r": 69,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 260.198,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36662,
    "c": 0.15669,
    "h": 292.3
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#452388
secondary
#94B750
accent
#E246AE
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #452388

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

Preview Lab → · Contrast checker → · Palette generator →

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