#452396#452396

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

Color values

HEX#452396
RGBrgb(69, 35, 150)
HSLhsl(258, 62%, 36%)
HSVhsv(258, 77%, 59%)
CMYKcmyk(54%, 76.7%, 0%, 41.2%)
CIE-LABlab(25.77, 44.07, -57.10)
CIE-LCHlch(25.77, 72.13, 307.66°)
OKLaboklab(37.98% 0.0558 -0.1642)
OKLCHoklch(37.98% 0.173 288.8)
XYZxyz(8.5587, 4.6689, 29.2985)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452396 #749623
analogous
#233B96 #452396 #7F2396
triadic
#452396 #964523 #239645
tetradic
#452396 #96233B #749623 #23967F
square
#452396 #96233B #749623 #23967F
split-complementary
#452396 #967F23 #3B9623
monochromatic
#170C33 #2E1764 #452396 #5C2FC8 #805BD9

Accessibility & contrast

On white

10.86
#452396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452396
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452396#FFFFFF#000000##FFFFFF
##4523961.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#25435B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #452396;
/* rgb */ color: rgb(69, 35, 150);
/* oklch */ color: oklch(38.0% 0.173 288.8);
Tailwind
colors: {
  custom: {
    50: '#8262b6',
    500: '#452396',
    950: '#000000',
  },
}
SCSS
$custom: #452396;
$custom-light: #8262b6;
$custom-dark: #000000;
JSON
{
  "hex": "#452396",
  "rgb": {
    "r": 69,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 257.739,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37982,
    "c": 0.17341,
    "h": 288.8
  },
  "luminance": 0.04669
}

Semantic roles & 50–950 ramp

primary
#452396
secondary
#9FBD58
accent
#E543B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #452396

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

Preview Lab → · Contrast checker → · Palette generator →

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