#46137F#46137F

#46137F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.163 H 298.2°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#46137F
RGBrgb(70, 19, 127)
HSLhsl(268, 74%, 29%)
HSVhsv(268, 85%, 50%)
CMYKcmyk(44.9%, 85%, 0%, 50.2%)
CIE-LABlab(21.21, 45.02, -50.23)
CIE-LCHlch(21.21, 67.45, 311.87°)
OKLaboklab(34.15% 0.077 -0.1438)
OKLCHoklch(34.15% 0.163 298.2)
XYZxyz(6.5884, 3.3000, 20.3644)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46137F #4C7F13
analogous
#13167F #46137F #7C137F
triadic
#46137F #7F4613 #137F46
tetradic
#46137F #7F1316 #4C7F13 #137F7C
square
#46137F #7F1316 #4C7F13 #137F7C
split-complementary
#46137F #7F7C13 #167F13
monochromatic
#0F041B #290B4A #46137F #631BB4 #812DE0

Accessibility & contrast

On white

12.65
#46137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#46137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46137F
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46137F#FFFFFF#000000##FFFFFF
##46137F1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#37334A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #46137f;
/* rgb */ color: rgb(70, 19, 127);
/* oklch */ color: oklch(34.2% 0.163 298.2);
Tailwind
colors: {
  custom: {
    50: '#8059a5',
    500: '#46137f',
    950: '#000000',
  },
}
SCSS
$custom: #46137f;
$custom-light: #8059a5;
$custom-dark: #000000;
JSON
{
  "hex": "#46137f",
  "rgb": {
    "r": 70,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 268.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34152,
    "c": 0.16319,
    "h": 298.2
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#46137F
secondary
#7AB439
accent
#F13799
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46137F

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

Preview Lab → · Contrast checker → · Palette generator →

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