#452188#452188

#452188 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.159 H 292.6°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#452188
RGBrgb(69, 33, 136)
HSLhsl(261, 61%, 33%)
HSVhsv(261, 76%, 53%)
CMYKcmyk(49.3%, 75.7%, 0%, 46.7%)
CIE-LABlab(24.10, 41.06, -51.16)
CIE-LCHlch(24.10, 65.60, 308.75°)
OKLaboklab(36.4% 0.0612 -0.1468)
OKLCHoklch(36.4% 0.159 292.6)
XYZxyz(7.4408, 4.1302, 23.6929)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452188 #648821
analogous
#213088 #452188 #782188
triadic
#452188 #884521 #218845
tetradic
#452188 #882130 #648821 #218878
square
#452188 #882130 #648821 #218878
split-complementary
#452188 #887821 #308821
monochromatic
#130925 #2C1557 #452188 #5E2DB9 #7E4FD4

Accessibility & contrast

On white

11.50
#452188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#452188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452188
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452188#FFFFFF#000000##FFFFFF
##4521881.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#303C53
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #452188;
/* rgb */ color: rgb(69, 33, 136);
/* oklch */ color: oklch(36.4% 0.159 292.6);
Tailwind
colors: {
  custom: {
    50: '#8060ac',
    500: '#452188',
    950: '#000000',
  },
}
SCSS
$custom: #452188;
$custom-light: #8060ac;
$custom-dark: #000000;
JSON
{
  "hex": "#452188",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 260.971,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36403,
    "c": 0.15902,
    "h": 292.6
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#452188
secondary
#92B84D
accent
#E444AC
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #452188

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

Preview Lab → · Contrast checker → · Palette generator →

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