#452168#452168

#452168 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.6% C 0.120 H 303.9°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#452168
RGBrgb(69, 33, 104)
HSLhsl(270, 52%, 27%)
HSVhsv(270, 68%, 41%)
CMYKcmyk(33.7%, 68.3%, 0%, 59.2%)
CIE-LABlab(21.40, 32.13, -35.12)
CIE-LCHlch(21.40, 47.60, 312.45°)
OKLaboklab(33.64% 0.067 -0.0996)
OKLCHoklch(33.64% 0.12 303.9)
XYZxyz(5.4962, 3.3524, 13.4515)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452168 #446821
analogous
#222168 #452168 #682168
triadic
#452168 #684521 #216845
tetradic
#452168 #682221 #446821 #216868
square
#452168 #682221 #446821 #216868
split-complementary
#452168 #686821 #216822
monochromatic
#0F0717 #26123A #452168 #643096 #8341C3

Accessibility & contrast

On white

12.57
#452168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#452168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452168
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452168#FFFFFF#000000##FFFFFF
##4521681.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#0B3366
Tritanopia (blue-blind)
#3E3041
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #452168;
/* rgb */ color: rgb(69, 33, 104);
/* oklch */ color: oklch(33.6% 0.120 303.9);
Tailwind
colors: {
  custom: {
    50: '#7c5f94',
    500: '#452168',
    950: '#000000',
  },
}
SCSS
$custom: #452168;
$custom-light: #7c5f94;
$custom-dark: #000000;
JSON
{
  "hex": "#452168",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 270.423,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33641,
    "c": 0.12004,
    "h": 303.9
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#452168
secondary
#729C49
accent
#DB4D93
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #452168

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

Preview Lab → · Contrast checker → · Palette generator →

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