#452162#452162

#452162 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.2% C 0.113 H 306.8°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#452162
RGBrgb(69, 33, 98)
HSLhsl(273, 50%, 26%)
HSVhsv(273, 66%, 38%)
CMYKcmyk(29.6%, 66.3%, 0%, 61.6%)
CIE-LABlab(20.96, 30.53, -31.91)
CIE-LCHlch(20.96, 44.16, 313.73°)
OKLaboklab(33.18% 0.0674 -0.0902)
OKLCHoklch(33.18% 0.113 306.8)
XYZxyz(5.2022, 3.2348, 11.9032)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452162 #3E6221
analogous
#252162 #452162 #62215E
triadic
#452162 #624521 #216245
tetradic
#452162 #622521 #3E6221 #215E62
square
#452162 #622521 #3E6221 #215E62
split-complementary
#452162 #5E6221 #216225
monochromatic
#100817 #251234 #452162 #653090 #8540BE

Accessibility & contrast

On white

12.75
#452162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#452162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452162
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452162#FFFFFF#000000##FFFFFF
##4521621.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003164
Deuteranopia (green-blind)
#143361
Tritanopia (blue-blind)
#402E3E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #452162;
/* rgb */ color: rgb(69, 33, 98);
/* oklch */ color: oklch(33.2% 0.113 306.8);
Tailwind
colors: {
  custom: {
    50: '#7b5e8f',
    500: '#452162',
    950: '#000000',
  },
}
SCSS
$custom: #452162;
$custom-light: #7b5e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#452162",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 273.231,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33179,
    "c": 0.11258,
    "h": 306.8
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#452162
secondary
#6B9649
accent
#D94F8C
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #452162

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

Preview Lab → · Contrast checker → · Palette generator →

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