#46317D#46317D

#46317D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.0% C 0.123 H 292.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#46317D
RGBrgb(70, 49, 125)
HSLhsl(257, 44%, 34%)
HSVhsv(257, 61%, 49%)
CMYKcmyk(44%, 60.8%, 0%, 51%)
CIE-LABlab(26.68, 28.83, -40.06)
CIE-LCHlch(26.68, 49.36, 305.74°)
OKLaboklab(38% 0.0467 -0.1141)
OKLCHoklch(38% 0.123 292.2)
XYZxyz(7.3248, 4.9792, 19.9732)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46317D #687D31
analogous
#31427D #46317D #6C317D
triadic
#46317D #7D4631 #317D46
tetradic
#46317D #7D3142 #687D31 #317D6C
square
#46317D #7D3142 #687D31 #317D6C
split-complementary
#46317D #7D6C31 #427D31
monochromatic
#150F25 #2D2051 #46317D #5F42A9 #7F66C3

Accessibility & contrast

On white

10.52
#46317D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#46317D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46317D
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46317D#FFFFFF#000000##FFFFFF
##46317D1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#073E7B
Tritanopia (blue-blind)
#374252
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #46317d;
/* rgb */ color: rgb(70, 49, 125);
/* oklch */ color: oklch(38.0% 0.123 292.2);
Tailwind
colors: {
  custom: {
    50: '#7e6aa3',
    500: '#46317d',
    950: '#000000',
  },
}
SCSS
$custom: #46317d;
$custom-light: #7e6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#46317d",
  "rgb": {
    "r": 70,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 256.579,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38002,
    "c": 0.12331,
    "h": 292.2
  },
  "luminance": 0.04979
}

Semantic roles & 50–950 ramp

primary
#46317D
secondary
#96AA60
accent
#D354B0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #46317D

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

Preview Lab → · Contrast checker → · Palette generator →

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