#45246F#45246F

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

Color values

HEX#45246F
RGBrgb(69, 36, 111)
HSLhsl(266, 51%, 29%)
HSVhsv(266, 68%, 44%)
CMYKcmyk(37.8%, 67.6%, 0%, 56.5%)
CIE-LABlab(22.57, 32.34, -37.78)
CIE-LCHlch(22.57, 49.74, 310.56°)
OKLaboklab(34.65% 0.0625 -0.1075)
OKLCHoklch(34.65% 0.124 300.2)
XYZxyz(5.9537, 3.6746, 15.4314)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45246F #4E6F24
analogous
#24296F #45246F #6B246F
triadic
#45246F #6F4524 #246F45
tetradic
#45246F #6F2429 #4E6F24 #246F6B
square
#45246F #6F2429 #4E6F24 #246F6B
split-complementary
#45246F #6F6B24 #296F24
monochromatic
#0E0717 #281541 #45246F #62339D #7F49C4

Accessibility & contrast

On white

12.10
#45246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#45246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45246F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45246F#FFFFFF#000000##FFFFFF
##45246F1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#03356D
Tritanopia (blue-blind)
#3C3546
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #45246f;
/* rgb */ color: rgb(69, 36, 111);
/* oklch */ color: oklch(34.6% 0.124 300.2);
Tailwind
colors: {
  custom: {
    50: '#7c6199',
    500: '#45246f',
    950: '#000000',
  },
}
SCSS
$custom: #45246f;
$custom-light: #7c6199;
$custom-dark: #000000;
JSON
{
  "hex": "#45246f",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 266.4,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34649,
    "c": 0.12432,
    "h": 300.2
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#45246F
secondary
#7DA24D
accent
#DA4D9C
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #45246F

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

Preview Lab → · Contrast checker → · Palette generator →

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