#45246E#45246E

#45246E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.6% C 0.123 H 300.6°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#45246E
RGBrgb(69, 36, 110)
HSLhsl(267, 51%, 29%)
HSVhsv(267, 67%, 43%)
CMYKcmyk(37.3%, 67.3%, 0%, 56.9%)
CIE-LABlab(22.49, 32.06, -37.26)
CIE-LCHlch(22.49, 49.16, 310.71°)
OKLaboklab(34.57% 0.0626 -0.1059)
OKLCHoklch(34.57% 0.123 300.6)
XYZxyz(5.8989, 3.6527, 15.1431)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45246E #4D6E24
analogous
#24286E #45246E #6A246E
triadic
#45246E #6E4524 #246E45
tetradic
#45246E #6E2428 #4D6E24 #246E6A
square
#45246E #6E2428 #4D6E24 #246E6A
split-complementary
#45246E #6E6A24 #286E24
monochromatic
#0E0817 #281540 #45246E #62339C #8049C3

Accessibility & contrast

On white

12.13
#45246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#45246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45246E
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45246E#FFFFFF#000000##FFFFFF
##45246E1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#05356C
Tritanopia (blue-blind)
#3C3445
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #45246e;
/* rgb */ color: rgb(69, 36, 110);
/* oklch */ color: oklch(34.6% 0.123 300.6);
Tailwind
colors: {
  custom: {
    50: '#7c6198',
    500: '#45246e',
    950: '#000000',
  },
}
SCSS
$custom: #45246e;
$custom-light: #7c6198;
$custom-dark: #000000;
JSON
{
  "hex": "#45246e",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 266.757,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34569,
    "c": 0.12305,
    "h": 300.6
  },
  "luminance": 0.03653
}

Semantic roles & 50–950 ramp

primary
#45246E
secondary
#7BA14D
accent
#DA4E9B
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #45246E

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

Preview Lab → · Contrast checker → · Palette generator →

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