#452070#452070

#452070 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.1% C 0.131 H 300.8°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#452070
RGBrgb(69, 32, 112)
HSLhsl(268, 56%, 28%)
HSVhsv(268, 71%, 44%)
CMYKcmyk(38.4%, 71.4%, 0%, 56.1%)
CIE-LABlab(21.83, 34.86, -39.62)
CIE-LCHlch(21.83, 52.77, 311.34°)
OKLaboklab(34.14% 0.0672 -0.1128)
OKLCHoklch(34.14% 0.131 300.8)
XYZxyz(5.8947, 3.4680, 15.6849)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452070 #4B7020
analogous
#202370 #452070 #6D2070
triadic
#452070 #704520 #207045
tetradic
#452070 #702023 #4B7020 #20706D
square
#452070 #702023 #4B7020 #20706D
split-complementary
#452070 #706D20 #237020
monochromatic
#0F0718 #281240 #452070 #622EA0 #8042C9

Accessibility & contrast

On white

12.40
#452070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#452070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452070
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452070#FFFFFF#000000##FFFFFF
##4520701.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#3C3345
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #452070;
/* rgb */ color: rgb(69, 32, 112);
/* oklch */ color: oklch(34.1% 0.131 300.8);
Tailwind
colors: {
  custom: {
    50: '#7d5e9a',
    500: '#452070',
    950: '#000000',
  },
}
SCSS
$custom: #452070;
$custom-light: #7d5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#452070",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 112
  },
  "hsl": {
    "h": 267.75,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34144,
    "c": 0.13136,
    "h": 300.8
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#452070
secondary
#79A448
accent
#DF499A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #452070

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

Preview Lab → · Contrast checker → · Palette generator →

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