#46338A#46338A

#46338A is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.4% C 0.138 H 288.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#46338A
RGBrgb(70, 51, 138)
HSLhsl(253, 46%, 37%)
HSVhsv(253, 63%, 54%)
CMYKcmyk(49.3%, 63%, 0%, 45.9%)
CIE-LABlab(28.13, 31.59, -45.84)
CIE-LCHlch(28.13, 55.67, 304.57°)
OKLaboklab(39.37% 0.0437 -0.1311)
OKLCHoklch(39.37% 0.138 288.4)
XYZxyz(8.2957, 5.5044, 24.6652)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46338A #778A33
analogous
#334C8A #46338A #71338A
triadic
#46338A #8A4633 #338A46
tetradic
#46338A #8A334C #778A33 #338A71
square
#46338A #8A334C #778A33 #338A71
split-complementary
#46338A #8A7133 #4C8A33
monochromatic
#191231 #2F225D #46338A #5D44B7 #826EC9

Accessibility & contrast

On white

10.00
#46338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#46338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46338A
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46338A#FFFFFF#000000##FFFFFF
##46338A1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#2F4759
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #46338a;
/* rgb */ color: rgb(70, 51, 138);
/* oklch */ color: oklch(39.4% 0.138 288.4);
Tailwind
colors: {
  custom: {
    50: '#7f6bad',
    500: '#46338a',
    950: '#000000',
  },
}
SCSS
$custom: #46338a;
$custom-light: #7f6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#46338a",
  "rgb": {
    "r": 70,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 253.103,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39374,
    "c": 0.13822,
    "h": 288.4
  },
  "luminance": 0.05505
}

Semantic roles & 50–950 ramp

primary
#46338A
secondary
#A1B167
accent
#D652B9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #46338A

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

Preview Lab → · Contrast checker → · Palette generator →

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