#452299#452299

#452299 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.178 H 288.3°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#452299
RGBrgb(69, 34, 153)
HSLhsl(258, 64%, 37%)
HSVhsv(258, 78%, 60%)
CMYKcmyk(54.9%, 77.8%, 0%, 40%)
CIE-LABlab(25.89, 45.42, -58.75)
CIE-LCHlch(25.89, 74.26, 307.71°)
OKLaboklab(38.15% 0.0558 -0.169)
OKLCHoklch(38.15% 0.178 288.3)
XYZxyz(8.7743, 4.7087, 30.5774)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452299 #769922
analogous
#223B99 #452299 #812299
triadic
#452299 #994522 #229945
tetradic
#452299 #99223B #769922 #229981
square
#452299 #99223B #769922 #229981
split-complementary
#452299 #998122 #3B9922
monochromatic
#180C35 #2E1767 #452299 #5C2DCB #805BDB

Accessibility & contrast

On white

10.81
#452299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#452299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452299
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452299#FFFFFF#000000##FFFFFF
##4522991.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #452299;
/* rgb */ color: rgb(69, 34, 153);
/* oklch */ color: oklch(38.2% 0.178 288.3);
Tailwind
colors: {
  custom: {
    50: '#8262b8',
    500: '#452299',
    950: '#000000',
  },
}
SCSS
$custom: #452299;
$custom-light: #8262b8;
$custom-dark: #000000;
JSON
{
  "hex": "#452299",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 257.647,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38154,
    "c": 0.17796,
    "h": 288.3
  },
  "luminance": 0.04709
}

Semantic roles & 50–950 ramp

primary
#452299
secondary
#A1BF58
accent
#E741B6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #452299

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

Preview Lab → · Contrast checker → · Palette generator →

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