#45246A#45246A

#45246A is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.3% C 0.118 H 302.2°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#45246A
RGBrgb(69, 36, 106)
HSLhsl(268, 49%, 28%)
HSVhsv(268, 66%, 42%)
CMYKcmyk(34.9%, 66%, 0%, 58.4%)
CIE-LABlab(22.19, 30.95, -35.16)
CIE-LCHlch(22.19, 46.84, 311.36°)
OKLaboklab(34.26% 0.0629 -0.0997)
OKLCHoklch(34.26% 0.118 302.2)
XYZxyz(5.6860, 3.5676, 14.0219)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45246A #496A24
analogous
#24266A #45246A #68246A
triadic
#45246A #6A4524 #246A45
tetradic
#45246A #6A2426 #496A24 #246A68
square
#45246A #6A2426 #496A24 #246A68
split-complementary
#45246A #6A6824 #266A24
monochromatic
#0F0817 #27143C #45246A #633498 #8148C1

Accessibility & contrast

On white

12.25
#45246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#45246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45246A
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45246A#FFFFFF#000000##FFFFFF
##45246A1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#0D3568
Tritanopia (blue-blind)
#3E3343
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #45246a;
/* rgb */ color: rgb(69, 36, 106);
/* oklch */ color: oklch(34.3% 0.118 302.2);
Tailwind
colors: {
  custom: {
    50: '#7c6195',
    500: '#45246a',
    950: '#000000',
  },
}
SCSS
$custom: #45246a;
$custom-light: #7c6195;
$custom-dark: #000000;
JSON
{
  "hex": "#45246a",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 268.286,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34255,
    "c": 0.11793,
    "h": 302.2
  },
  "luminance": 0.03568
}

Semantic roles & 50–950 ramp

primary
#45246A
secondary
#779D4D
accent
#D94F98
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #45246A

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

Preview Lab → · Contrast checker → · Palette generator →

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