#45286A#45286A

#45286A is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.9% C 0.112 H 301.1°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#45286A
RGBrgb(69, 40, 106)
HSLhsl(266, 45%, 29%)
HSVhsv(266, 62%, 42%)
CMYKcmyk(34.9%, 62.3%, 0%, 58.4%)
CIE-LABlab(23.08, 28.56, -33.72)
CIE-LCHlch(23.08, 44.19, 310.26°)
OKLaboklab(34.9% 0.0575 -0.0955)
OKLCHoklch(34.9% 0.112 301.1)
XYZxyz(5.8139, 3.8234, 14.0646)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45286A #4D6A28
analogous
#282C6A #45286A #66286A
triadic
#45286A #6A4528 #286A45
tetradic
#45286A #6A282C #4D6A28 #286A66
square
#45286A #6A282C #4D6A28 #286A66
split-complementary
#45286A #6A6628 #2C6A28
monochromatic
#0E0816 #28173E #45286A #623996 #8050BD

Accessibility & contrast

On white

11.90
#45286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#45286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45286A
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45286A#FFFFFF#000000##FFFFFF
##45286A1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06376C
Deuteranopia (green-blind)
#153769
Tritanopia (blue-blind)
#3D3645
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #45286a;
/* rgb */ color: rgb(69, 40, 106);
/* oklch */ color: oklch(34.9% 0.112 301.1);
Tailwind
colors: {
  custom: {
    50: '#7b6395',
    500: '#45286a',
    950: '#000000',
  },
}
SCSS
$custom: #45286a;
$custom-light: #7b6395;
$custom-dark: #000000;
JSON
{
  "hex": "#45286a",
  "rgb": {
    "r": 69,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 266.364,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34904,
    "c": 0.11152,
    "h": 301.1
  },
  "luminance": 0.03823
}

Semantic roles & 50–950 ramp

primary
#45286A
secondary
#7B9D51
accent
#D5539C
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050D
muted
#7C7A7E

Preview Lab

Preview with #45286A

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

Preview Lab → · Contrast checker → · Palette generator →

#45286A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva