#45276E#45276E

#45276E is a dark, moderate violet. Relative luminance 0.038; OKLCH L 35.0% C 0.118 H 299.7°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#45276E
RGBrgb(69, 39, 110)
HSLhsl(265, 48%, 29%)
HSVhsv(265, 65%, 43%)
CMYKcmyk(37.3%, 64.5%, 0%, 56.9%)
CIE-LABlab(23.14, 30.30, -36.21)
CIE-LCHlch(23.14, 47.21, 309.92°)
OKLaboklab(35.04% 0.0587 -0.1028)
OKLCHoklch(35.04% 0.118 299.7)
XYZxyz(5.9935, 3.8420, 15.1746)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45276E #506E27
analogous
#272D6E #45276E #69276E
triadic
#45276E #6E4527 #276E45
tetradic
#45276E #6E272D #506E27 #276E69
square
#45276E #6E272D #506E27 #276E69
split-complementary
#45276E #6E6927 #2D6E27
monochromatic
#0E0817 #291741 #45276E #61379B #7F4FC1

Accessibility & contrast

On white

11.88
#45276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#45276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45276E
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45276E#FFFFFF#000000##FFFFFF
##45276E1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#0C376C
Tritanopia (blue-blind)
#3C3646
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #45276e;
/* rgb */ color: rgb(69, 39, 110);
/* oklch */ color: oklch(35.0% 0.118 299.7);
Tailwind
colors: {
  custom: {
    50: '#7c6398',
    500: '#45276e',
    950: '#000000',
  },
}
SCSS
$custom: #45276e;
$custom-light: #7c6398;
$custom-dark: #000000;
JSON
{
  "hex": "#45276e",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 265.352,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35043,
    "c": 0.11842,
    "h": 299.7
  },
  "luminance": 0.03842
}

Semantic roles & 50–950 ramp

primary
#45276E
secondary
#7FA150
accent
#D7519E
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #45276E

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

Preview Lab → · Contrast checker → · Palette generator →

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