#46337A#46337A

#46337A is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.1% C 0.116 H 292.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#46337A
RGBrgb(70, 51, 122)
HSLhsl(256, 41%, 34%)
HSVhsv(256, 58%, 48%)
CMYKcmyk(42.6%, 58.2%, 0%, 52.2%)
CIE-LABlab(26.95, 26.66, -37.73)
CIE-LCHlch(26.95, 46.20, 305.24°)
OKLaboklab(38.13% 0.0441 -0.1073)
OKLCHoklch(38.13% 0.116 292.4)
XYZxyz(7.2215, 5.0747, 19.0076)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46337A #677A33
analogous
#33447A #46337A #6A337A
triadic
#46337A #7A4633 #337A46
tetradic
#46337A #7A3344 #677A33 #337A6A
square
#46337A #7A3344 #677A33 #337A6A
split-complementary
#46337A #7A6A33 #447A33
monochromatic
#140F24 #2D214F #46337A #5F45A5 #7F68C0

Accessibility & contrast

On white

10.42
#46337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#46337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46337A
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46337A#FFFFFF#000000##FFFFFF
##46337A1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E417C
Deuteranopia (green-blind)
#133E78
Tritanopia (blue-blind)
#384251
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #46337a;
/* rgb */ color: rgb(70, 51, 122);
/* oklch */ color: oklch(38.1% 0.116 292.4);
Tailwind
colors: {
  custom: {
    50: '#7d6ba1',
    500: '#46337a',
    950: '#000000',
  },
}
SCSS
$custom: #46337a;
$custom-light: #7d6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#46337a",
  "rgb": {
    "r": 70,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 256.056,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38133,
    "c": 0.11599,
    "h": 292.4
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#46337A
secondary
#95A861
accent
#D157B0
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #46337A

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

Preview Lab → · Contrast checker → · Palette generator →

#46337A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva