#45106D#45106D

#45106D is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.147 H 304.8°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#45106D
RGBrgb(69, 16, 109)
HSLhsl(274, 74%, 25%)
HSVhsv(274, 85%, 43%)
CMYKcmyk(36.7%, 85.3%, 0%, 57.3%)
CIE-LABlab(18.97, 41.47, -42.33)
CIE-LCHlch(18.97, 59.26, 314.41°)
OKLaboklab(32.05% 0.0838 -0.1207)
OKLCHoklch(32.05% 0.147 304.8)
XYZxyz(5.3992, 2.7399, 14.7095)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45106D #386D10
analogous
#17106D #45106D #6D1067
triadic
#45106D #6D4510 #106D45
tetradic
#45106D #6D1710 #386D10 #10676D
square
#45106D #6D1710 #386D10 #10676D
split-complementary
#45106D #676D10 #106D17
monochromatic
#11041B #230838 #45106D #6718A2 #8920D8

Accessibility & contrast

On white

13.57
#45106D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#45106D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45106D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45106D#FFFFFF#000000##FFFFFF
##45106D1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#002E6B
Tritanopia (blue-blind)
#3D2A3F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #45106d;
/* rgb */ color: rgb(69, 16, 109);
/* oklch */ color: oklch(32.0% 0.147 304.8);
Tailwind
colors: {
  custom: {
    50: '#7e5698',
    500: '#45106d',
    950: '#000000',
  },
}
SCSS
$custom: #45106d;
$custom-light: #7e5698;
$custom-dark: #000000;
JSON
{
  "hex": "#45106d",
  "rgb": {
    "r": 69,
    "g": 16,
    "b": 109
  },
  "hsl": {
    "h": 274.194,
    "s": 74.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32047,
    "c": 0.14696,
    "h": 304.8
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#45106D
secondary
#65A534
accent
#F13787
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #45106D

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

Preview Lab → · Contrast checker → · Palette generator →

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