#452268#452268

#452268 is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.8% C 0.119 H 303.7°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#452268
RGBrgb(69, 34, 104)
HSLhsl(270, 51%, 27%)
HSVhsv(270, 67%, 41%)
CMYKcmyk(33.7%, 67.3%, 0%, 59.2%)
CIE-LABlab(21.61, 31.56, -34.78)
CIE-LCHlch(21.61, 46.97, 312.22°)
OKLaboklab(33.79% 0.0657 -0.0986)
OKLCHoklch(33.79% 0.119 303.7)
XYZxyz(5.5244, 3.4088, 13.4609)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452268 #456822
analogous
#222268 #452268 #682268
triadic
#452268 #684522 #226845
tetradic
#452268 #682222 #456822 #226868
square
#452268 #682222 #456822 #226868
split-complementary
#452268 #686822 #226822
monochromatic
#0F0817 #26133A #452268 #643196 #8243C2

Accessibility & contrast

On white

12.49
#452268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#452268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452268
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452268#FFFFFF#000000##FFFFFF
##4522681.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#0D3466
Tritanopia (blue-blind)
#3E3141
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #452268;
/* rgb */ color: rgb(69, 34, 104);
/* oklch */ color: oklch(33.8% 0.119 303.7);
Tailwind
colors: {
  custom: {
    50: '#7c5f94',
    500: '#452268',
    950: '#000000',
  },
}
SCSS
$custom: #452268;
$custom-light: #7c5f94;
$custom-dark: #000000;
JSON
{
  "hex": "#452268",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 270,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33791,
    "c": 0.11851,
    "h": 303.7
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#452268
secondary
#739C4A
accent
#DA4E94
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #452268

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

Preview Lab → · Contrast checker → · Palette generator →

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