#46155F#46155F

#46155F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.127 H 311.5°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#46155F
RGBrgb(70, 21, 95)
HSLhsl(280, 64%, 23%)
HSVhsv(280, 78%, 37%)
CMYKcmyk(26.3%, 77.9%, 0%, 62.7%)
CIE-LABlab(18.65, 36.23, -33.64)
CIE-LCHlch(18.65, 49.44, 317.12°)
OKLaboklab(31.48% 0.0841 -0.0952)
OKLCHoklch(31.48% 0.127 311.5)
XYZxyz(4.8591, 2.6648, 11.0826)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46155F #2E5F15
analogous
#21155F #46155F #5F1553
triadic
#46155F #5F4615 #155F46
tetradic
#46155F #5F2115 #2E5F15 #15535F
square
#46155F #5F2115 #2E5F15 #15535F
split-complementary
#46155F #535F15 #155F21
monochromatic
#120619 #210A2D #46155F #6B2091 #902BC3

Accessibility & contrast

On white

13.70
#46155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#46155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46155F
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46155F#FFFFFF#000000##FFFFFF
##46155F1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#092E5D
Tritanopia (blue-blind)
#432639
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #46155f;
/* rgb */ color: rgb(70, 21, 95);
/* oklch */ color: oklch(31.5% 0.127 311.5);
Tailwind
colors: {
  custom: {
    50: '#7d588d',
    500: '#46155f',
    950: '#000000',
  },
}
SCSS
$custom: #46155f;
$custom-light: #7d588d;
$custom-dark: #000000;
JSON
{
  "hex": "#46155f",
  "rgb": {
    "r": 70,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 279.73,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3148,
    "c": 0.12699,
    "h": 311.5
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#46155F
secondary
#59963A
accent
#E74179
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #46155F

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

Preview Lab → · Contrast checker → · Palette generator →

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