#46165F#46165F

#46165F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.126 H 311.3°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#46165F
RGBrgb(70, 22, 95)
HSLhsl(279, 62%, 23%)
HSVhsv(279, 77%, 37%)
CMYKcmyk(26.3%, 76.8%, 0%, 62.7%)
CIE-LABlab(18.81, 35.77, -33.38)
CIE-LCHlch(18.81, 48.92, 316.98°)
OKLaboklab(31.6% 0.083 -0.0944)
OKLCHoklch(31.6% 0.126 311.3)
XYZxyz(4.8779, 2.7023, 11.0889)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46165F #2F5F16
analogous
#21165F #46165F #5F1653
triadic
#46165F #5F4616 #165F46
tetradic
#46165F #5F2116 #2F5F16 #16535F
square
#46165F #5F2116 #2F5F16 #16535F
split-complementary
#46165F #535F16 #165F21
monochromatic
#120619 #210A2D #46165F #6B2291 #8F2DC2

Accessibility & contrast

On white

13.63
#46165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#46165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46165F
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46165F#FFFFFF#000000##FFFFFF
##46165F1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#0B2F5D
Tritanopia (blue-blind)
#432639
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #46165f;
/* rgb */ color: rgb(70, 22, 95);
/* oklch */ color: oklch(31.6% 0.126 311.3);
Tailwind
colors: {
  custom: {
    50: '#7d588d',
    500: '#46165f',
    950: '#000000',
  },
}
SCSS
$custom: #46165f;
$custom-light: #7d588d;
$custom-dark: #000000;
JSON
{
  "hex": "#46165f",
  "rgb": {
    "r": 70,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 279.452,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31595,
    "c": 0.12569,
    "h": 311.3
  },
  "luminance": 0.02702
}

Semantic roles & 50–950 ramp

primary
#46165F
secondary
#5A963B
accent
#E5427A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #46165F

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

Preview Lab → · Contrast checker → · Palette generator →

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