#46337B#46337B

#46337B is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.2% C 0.117 H 292.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#46337B
RGBrgb(70, 51, 123)
HSLhsl(256, 41%, 34%)
HSVhsv(256, 59%, 48%)
CMYKcmyk(43.1%, 58.5%, 0%, 51.8%)
CIE-LABlab(27.02, 26.96, -38.25)
CIE-LCHlch(27.02, 46.80, 305.18°)
OKLaboklab(38.21% 0.0441 -0.1088)
OKLCHoklch(38.21% 0.117 292.1)
XYZxyz(7.2838, 5.0996, 19.3356)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46337B #687B33
analogous
#33447B #46337B #6A337B
triadic
#46337B #7B4633 #337B46
tetradic
#46337B #7B3344 #687B33 #337B6A
square
#46337B #7B3344 #687B33 #337B6A
split-complementary
#46337B #7B6A33 #447B33
monochromatic
#150F24 #2D2150 #46337B #5F45A6 #7F68C0

Accessibility & contrast

On white

10.40
#46337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46337B
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46337B#FFFFFF#000000##FFFFFF
##46337B1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C417D
Deuteranopia (green-blind)
#123E79
Tritanopia (blue-blind)
#384252
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #46337b;
/* rgb */ color: rgb(70, 51, 123);
/* oklch */ color: oklch(38.2% 0.117 292.1);
Tailwind
colors: {
  custom: {
    50: '#7d6ba2',
    500: '#46337b',
    950: '#000000',
  },
}
SCSS
$custom: #46337b;
$custom-light: #7d6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#46337b",
  "rgb": {
    "r": 70,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 255.833,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38207,
    "c": 0.11741,
    "h": 292.1
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#46337B
secondary
#96A862
accent
#D157B1
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #46337B

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

Preview Lab → · Contrast checker → · Palette generator →

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