#45135F#45135F

#45135F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.129 H 311.0°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#45135F
RGBrgb(69, 19, 95)
HSLhsl(279, 67%, 22%)
HSVhsv(279, 80%, 37%)
CMYKcmyk(27.4%, 80%, 0%, 62.7%)
CIE-LABlab(18.18, 36.89, -34.41)
CIE-LCHlch(18.18, 50.45, 316.99°)
OKLaboklab(31.11% 0.0847 -0.0975)
OKLCHoklch(31.11% 0.129 311)
XYZxyz(4.7523, 2.5573, 11.0675)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45135F #2D5F13
analogous
#1F135F #45135F #5F1353
triadic
#45135F #5F4513 #135F45
tetradic
#45135F #5F1F13 #2D5F13 #13535F
square
#45135F #5F1F13 #2D5F13 #13535F
split-complementary
#45135F #535F13 #135F1F
monochromatic
#13051A #20092C #45135F #6A1D92 #8F27C5

Accessibility & contrast

On white

13.89
#45135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#45135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45135F
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45135F#FFFFFF#000000##FFFFFF
##45135F1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#052D5D
Tritanopia (blue-blind)
#422538
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #45135f;
/* rgb */ color: rgb(69, 19, 95);
/* oklch */ color: oklch(31.1% 0.129 311.0);
Tailwind
colors: {
  custom: {
    50: '#7c578d',
    500: '#45135f',
    950: '#000000',
  },
}
SCSS
$custom: #45135f;
$custom-light: #7c578d;
$custom-dark: #000000;
JSON
{
  "hex": "#45135f",
  "rgb": {
    "r": 69,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 279.474,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31113,
    "c": 0.12915,
    "h": 311
  },
  "luminance": 0.02557
}

Semantic roles & 50–950 ramp

primary
#45135F
secondary
#589737
accent
#EA3E79
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #45135F

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

Preview Lab → · Contrast checker → · Palette generator →

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