#452267#452267

#452267 is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.7% C 0.117 H 304.1°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#452267
RGBrgb(69, 34, 103)
HSLhsl(270, 50%, 27%)
HSVhsv(270, 67%, 40%)
CMYKcmyk(33%, 67%, 0%, 59.6%)
CIE-LABlab(21.54, 31.29, -34.25)
CIE-LCHlch(21.54, 46.39, 312.41°)
OKLaboklab(33.71% 0.0658 -0.0971)
OKLCHoklch(33.71% 0.117 304.1)
XYZxyz(5.4739, 3.3886, 13.1950)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452267 #446722
analogous
#232267 #452267 #672267
triadic
#452267 #674522 #226745
tetradic
#452267 #672322 #446722 #226767
square
#452267 #672322 #446722 #226767
split-complementary
#452267 #676722 #226723
monochromatic
#0F0817 #261339 #452267 #643195 #8343C1

Accessibility & contrast

On white

12.52
#452267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452267
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452267#FFFFFF#000000##FFFFFF
##4522671.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#0F3465
Tritanopia (blue-blind)
#3F3141
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #452267;
/* rgb */ color: rgb(69, 34, 103);
/* oklch */ color: oklch(33.7% 0.117 304.1);
Tailwind
colors: {
  custom: {
    50: '#7c5f93',
    500: '#452267',
    950: '#000000',
  },
}
SCSS
$custom: #452267;
$custom-light: #7c5f93;
$custom-dark: #000000;
JSON
{
  "hex": "#452267",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 270.435,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33713,
    "c": 0.11726,
    "h": 304.1
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#452267
secondary
#729B4A
accent
#DA4E93
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #452267

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

Preview Lab → · Contrast checker → · Palette generator →

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