#452281#452281

#452281 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.149 H 294.5°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#452281
RGBrgb(69, 34, 129)
HSLhsl(262, 58%, 32%)
HSVhsv(262, 74%, 51%)
CMYKcmyk(46.5%, 73.6%, 0%, 49.4%)
CIE-LABlab(23.65, 38.55, -47.49)
CIE-LCHlch(23.65, 61.17, 309.06°)
OKLaboklab(35.89% 0.0619 -0.136)
OKLCHoklch(35.89% 0.149 294.5)
XYZxyz(6.9876, 3.9941, 21.1674)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452281 #5E8122
analogous
#222F81 #452281 #752281
triadic
#452281 #814522 #228145
tetradic
#452281 #81222F #5E8122 #228175
square
#452281 #81222F #5E8122 #228175
split-complementary
#452281 #817522 #2F8122
monochromatic
#110820 #2B1551 #452281 #5F2FB1 #7D4DD0

Accessibility & contrast

On white

11.67
#452281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#452281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452281
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452281#FFFFFF#000000##FFFFFF
##4522811.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#343A4F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #452281;
/* rgb */ color: rgb(69, 34, 129);
/* oklch */ color: oklch(35.9% 0.149 294.5);
Tailwind
colors: {
  custom: {
    50: '#7f60a6',
    500: '#452281',
    950: '#000000',
  },
}
SCSS
$custom: #452281;
$custom-light: #7f60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#452281",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 262.105,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35893,
    "c": 0.14943,
    "h": 294.5
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#452281
secondary
#8DB34B
accent
#E146A8
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #452281

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

Preview Lab → · Contrast checker → · Palette generator →

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