#46337C#46337C

#46337C is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.3% C 0.119 H 291.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#46337C
RGBrgb(70, 51, 124)
HSLhsl(256, 42%, 34%)
HSVhsv(256, 59%, 49%)
CMYKcmyk(43.5%, 58.9%, 0%, 51.4%)
CIE-LABlab(27.09, 27.27, -38.77)
CIE-LCHlch(27.09, 47.39, 305.12°)
OKLaboklab(38.28% 0.0441 -0.1103)
OKLCHoklch(38.28% 0.119 291.8)
XYZxyz(7.3467, 5.1248, 19.6670)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46337C #697C33
analogous
#33457C #46337C #6B337C
triadic
#46337C #7C4633 #337C46
tetradic
#46337C #7C3345 #697C33 #337C6B
square
#46337C #7C3345 #697C33 #337C6B
split-complementary
#46337C #7C6B33 #457C33
monochromatic
#150F25 #2E2151 #46337C #5E45A7 #7F68C1

Accessibility & contrast

On white

10.37
#46337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#46337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46337C
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46337C#FFFFFF#000000##FFFFFF
##46337C1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09417E
Deuteranopia (green-blind)
#103F7A
Tritanopia (blue-blind)
#374352
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #46337c;
/* rgb */ color: rgb(70, 51, 124);
/* oklch */ color: oklch(38.3% 0.119 291.8);
Tailwind
colors: {
  custom: {
    50: '#7d6ba2',
    500: '#46337c',
    950: '#000000',
  },
}
SCSS
$custom: #46337c;
$custom-light: #7d6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#46337c",
  "rgb": {
    "r": 70,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 255.616,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38282,
    "c": 0.11882,
    "h": 291.8
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#46337C
secondary
#96A962
accent
#D256B1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #46337C

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

Preview Lab → · Contrast checker → · Palette generator →

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