#45266D#45266D

#45266D is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.8% C 0.119 H 300.4°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#45266D
RGBrgb(69, 38, 109)
HSLhsl(266, 48%, 29%)
HSVhsv(266, 65%, 43%)
CMYKcmyk(36.7%, 65.1%, 0%, 57.3%)
CIE-LABlab(22.85, 30.61, -36.04)
CIE-LCHlch(22.85, 47.28, 310.35°)
OKLaboklab(34.8% 0.0601 -0.1023)
OKLCHoklch(34.8% 0.119 300.4)
XYZxyz(5.9070, 3.7555, 14.8787)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45266D #4E6D26
analogous
#262B6D #45266D #69266D
triadic
#45266D #6D4526 #266D45
tetradic
#45266D #6D262B #4E6D26 #266D69
square
#45266D #6D262B #4E6D26 #266D69
split-complementary
#45266D #6D6926 #2B6D26
monochromatic
#0E0817 #281640 #45266D #62369A #7F4DC1

Accessibility & contrast

On white

11.99
#45266D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#45266D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45266D
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45266D#FFFFFF#000000##FFFFFF
##45266D1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#0C366B
Tritanopia (blue-blind)
#3C3545
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #45266d;
/* rgb */ color: rgb(69, 38, 109);
/* oklch */ color: oklch(34.8% 0.119 300.4);
Tailwind
colors: {
  custom: {
    50: '#7c6297',
    500: '#45266d',
    950: '#000000',
  },
}
SCSS
$custom: #45266d;
$custom-light: #7c6297;
$custom-dark: #000000;
JSON
{
  "hex": "#45266d",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 266.197,
    "s": 48.299,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34804,
    "c": 0.11869,
    "h": 300.4
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#45266D
secondary
#7DA04F
accent
#D8509D
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #45266D

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

Preview Lab → · Contrast checker → · Palette generator →

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