#45266A#45266A

#45266A is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.6% C 0.115 H 301.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#45266A
RGBrgb(69, 38, 106)
HSLhsl(267, 47%, 28%)
HSVhsv(267, 64%, 42%)
CMYKcmyk(34.9%, 64.2%, 0%, 58.4%)
CIE-LABlab(22.63, 29.77, -34.45)
CIE-LCHlch(22.63, 45.53, 310.83°)
OKLaboklab(34.57% 0.0603 -0.0977)
OKLCHoklch(34.57% 0.115 301.7)
XYZxyz(5.7483, 3.6920, 14.0427)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45266A #4B6A26
analogous
#26296A #45266A #67266A
triadic
#45266A #6A4526 #266A45
tetradic
#45266A #6A2629 #4B6A26 #266A67
square
#45266A #6A2629 #4B6A26 #266A67
split-complementary
#45266A #6A6726 #296A26
monochromatic
#0F0817 #28163D #45266A #623697 #804CBF

Accessibility & contrast

On white

12.08
#45266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#45266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45266A
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45266A#FFFFFF#000000##FFFFFF
##45266A1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366C
Deuteranopia (green-blind)
#113668
Tritanopia (blue-blind)
#3E3444
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #45266a;
/* rgb */ color: rgb(69, 38, 106);
/* oklch */ color: oklch(34.6% 0.115 301.7);
Tailwind
colors: {
  custom: {
    50: '#7c6295',
    500: '#45266a',
    950: '#000000',
  },
}
SCSS
$custom: #45266a;
$custom-light: #7c6295;
$custom-dark: #000000;
JSON
{
  "hex": "#45266a",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 267.353,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34574,
    "c": 0.11476,
    "h": 301.7
  },
  "luminance": 0.03692
}

Semantic roles & 50–950 ramp

primary
#45266A
secondary
#799D4F
accent
#D7519A
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #45266A

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

Preview Lab → · Contrast checker → · Palette generator →

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