#452278#452278

#452278 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.138 H 297.4°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#452278
RGBrgb(69, 34, 120)
HSLhsl(264, 56%, 30%)
HSVhsv(264, 72%, 47%)
CMYKcmyk(42.5%, 71.7%, 0%, 52.9%)
CIE-LABlab(22.88, 36.00, -43.05)
CIE-LCHlch(22.88, 56.11, 309.90°)
OKLaboklab(35.1% 0.0637 -0.1229)
OKLCHoklch(35.1% 0.138 297.4)
XYZxyz(6.4156, 3.7652, 18.1544)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452278 #557822
analogous
#222A78 #452278 #702278
triadic
#452278 #784522 #227845
tetradic
#452278 #78222A #557822 #227870
square
#452278 #78222A #557822 #227870
split-complementary
#452278 #787022 #2A7822
monochromatic
#0E0719 #2A1448 #452278 #6030A8 #7E49CB

Accessibility & contrast

On white

11.98
#452278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#452278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452278
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452278#FFFFFF#000000##FFFFFF
##4522781.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#38374A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #452278;
/* rgb */ color: rgb(69, 34, 120);
/* oklch */ color: oklch(35.1% 0.138 297.4);
Tailwind
colors: {
  custom: {
    50: '#7e60a0',
    500: '#452278',
    950: '#000000',
  },
}
SCSS
$custom: #452278;
$custom-light: #7e60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#452278",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 264.419,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35102,
    "c": 0.13843,
    "h": 297.4
  },
  "luminance": 0.03765
}

Semantic roles & 50–950 ramp

primary
#452278
secondary
#84AB4B
accent
#DF49A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #452278

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

Preview Lab → · Contrast checker → · Palette generator →

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