#452199#452199

#452199 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.179 H 288.4°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#452199
RGBrgb(69, 33, 153)
HSLhsl(258, 65%, 36%)
HSVhsv(258, 78%, 60%)
CMYKcmyk(54.9%, 78.4%, 0%, 40%)
CIE-LABlab(25.72, 45.90, -59.03)
CIE-LCHlch(25.72, 74.77, 307.87°)
OKLaboklab(38.04% 0.0565 -0.1698)
OKLCHoklch(38.04% 0.179 288.4)
XYZxyz(8.7462, 4.6524, 30.5680)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452199 #759921
analogous
#213999 #452199 #812199
triadic
#452199 #994521 #219945
tetradic
#452199 #992139 #759921 #219981
square
#452199 #992139 #759921 #219981
split-complementary
#452199 #998121 #399921
monochromatic
#180B34 #2E1667 #452199 #5C2CCB #8059DB

Accessibility & contrast

On white

10.88
#452199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#452199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452199
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452199#FFFFFF#000000##FFFFFF
##4521991.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#23435C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #452199;
/* rgb */ color: rgb(69, 33, 153);
/* oklch */ color: oklch(38.0% 0.179 288.4);
Tailwind
colors: {
  custom: {
    50: '#8261b8',
    500: '#452199',
    950: '#000000',
  },
}
SCSS
$custom: #452199;
$custom-light: #8261b8;
$custom-dark: #000000;
JSON
{
  "hex": "#452199",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 258,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38036,
    "c": 0.17896,
    "h": 288.4
  },
  "luminance": 0.04653
}

Semantic roles & 50–950 ramp

primary
#452199
secondary
#A0BF56
accent
#E840B5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #452199

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

Preview Lab → · Contrast checker → · Palette generator →

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