#46397A#46397A

#46397A is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.3% C 0.106 H 289.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#46397A
RGBrgb(70, 57, 122)
HSLhsl(252, 36%, 35%)
HSVhsv(252, 53%, 48%)
CMYKcmyk(42.6%, 53.3%, 0%, 52.2%)
CIE-LABlab(28.47, 22.80, -35.29)
CIE-LCHlch(28.47, 42.01, 302.86°)
OKLaboklab(39.26% 0.036 -0.1001)
OKLCHoklch(39.26% 0.106 289.8)
XYZxyz(7.5008, 5.6333, 19.1007)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46397A #6D7A39
analogous
#394C7A #46397A #66397A
triadic
#46397A #7A4639 #397A46
tetradic
#46397A #7A394C #6D7A39 #397A66
square
#46397A #7A394C #6D7A39 #397A66
split-complementary
#46397A #7A6639 #4C7A39
monochromatic
#161227 #2E2650 #46397A #5E4CA4 #8071BD

Accessibility & contrast

On white

9.87
#46397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#46397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46397A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46397A#FFFFFF#000000##FFFFFF
##46397A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447C
Deuteranopia (green-blind)
#1F4279
Tritanopia (blue-blind)
#384654
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #46397a;
/* rgb */ color: rgb(70, 57, 122);
/* oklch */ color: oklch(39.3% 0.106 289.8);
Tailwind
colors: {
  custom: {
    50: '#7d6fa1',
    500: '#46397a',
    950: '#000000',
  },
}
SCSS
$custom: #46397a;
$custom-light: #7d6fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#46397a",
  "rgb": {
    "r": 70,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 252,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39263,
    "c": 0.10639,
    "h": 289.8
  },
  "luminance": 0.05633
}

Semantic roles & 50–950 ramp

primary
#46397A
secondary
#9AA669
accent
#CC5BB6
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#0A070F
muted
#7C7A7E

Preview Lab

Preview with #46397A

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

Preview Lab → · Contrast checker → · Palette generator →

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