#452287#452287

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

Color values

HEX#452287
RGBrgb(69, 34, 135)
HSLhsl(261, 60%, 33%)
HSVhsv(261, 75%, 53%)
CMYKcmyk(48.9%, 74.8%, 0%, 47.1%)
CIE-LABlab(24.19, 40.26, -50.39)
CIE-LCHlch(24.19, 64.50, 308.62°)
OKLaboklab(36.44% 0.0606 -0.1445)
OKLCHoklch(36.44% 0.157 292.7)
XYZxyz(7.3982, 4.1583, 23.3298)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452287 #648722
analogous
#223187 #452287 #772287
triadic
#452287 #874522 #228745
tetradic
#452287 #872231 #648722 #228777
square
#452287 #872231 #648722 #228777
split-complementary
#452287 #877722 #318722
monochromatic
#130925 #2C1656 #452287 #5E2EB8 #7E50D3

Accessibility & contrast

On white

11.46
#452287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452287
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452287#FFFFFF#000000##FFFFFF
##4522871.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#313D52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #452287;
/* rgb */ color: rgb(69, 34, 135);
/* oklch */ color: oklch(36.4% 0.157 292.7);
Tailwind
colors: {
  custom: {
    50: '#8061ab',
    500: '#452287',
    950: '#000000',
  },
}
SCSS
$custom: #452287;
$custom-light: #8061ab;
$custom-dark: #000000;
JSON
{
  "hex": "#452287",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 260.792,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36438,
    "c": 0.15666,
    "h": 292.7
  },
  "luminance": 0.04159
}

Semantic roles & 50–950 ramp

primary
#452287
secondary
#92B74E
accent
#E345AC
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #452287

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

Preview Lab → · Contrast checker → · Palette generator →

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