#452495#452495

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

Color values

HEX#452495
RGBrgb(69, 36, 149)
HSLhsl(258, 61%, 36%)
HSVhsv(258, 76%, 58%)
CMYKcmyk(53.7%, 75.8%, 0%, 41.6%)
CIE-LABlab(25.85, 43.27, -56.35)
CIE-LCHlch(25.85, 71.05, 307.52°)
OKLaboklab(38.01% 0.0553 -0.162)
OKLCHoklch(38.01% 0.171 288.8)
XYZxyz(8.5084, 4.6965, 28.8861)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452495 #749524
analogous
#243C95 #452495 #7E2495
triadic
#452495 #954524 #249545
tetradic
#452495 #95243C #749524 #24957E
square
#452495 #95243C #749524 #24957E
split-complementary
#452495 #957E24 #3C9524
monochromatic
#170C32 #2E1864 #452495 #5C30C6 #805CD8

Accessibility & contrast

On white

10.83
#452495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452495
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452495#FFFFFF#000000##FFFFFF
##4524951.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#26435B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #452495;
/* rgb */ color: rgb(69, 36, 149);
/* oklch */ color: oklch(38.0% 0.171 288.8);
Tailwind
colors: {
  custom: {
    50: '#8262b5',
    500: '#452495',
    950: '#000000',
  },
}
SCSS
$custom: #452495;
$custom-light: #8262b5;
$custom-dark: #000000;
JSON
{
  "hex": "#452495",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 257.522,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38011,
    "c": 0.17116,
    "h": 288.8
  },
  "luminance": 0.04697
}

Semantic roles & 50–950 ramp

primary
#452495
secondary
#9FBC59
accent
#E444B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #452495

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

Preview Lab → · Contrast checker → · Palette generator →

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