#46397C#46397C

#46397C is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.4% C 0.109 H 289.3°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#46397C
RGBrgb(70, 57, 124)
HSLhsl(252, 37%, 35%)
HSVhsv(252, 54%, 49%)
CMYKcmyk(43.5%, 54%, 0%, 51.4%)
CIE-LABlab(28.60, 23.42, -36.34)
CIE-LCHlch(28.60, 43.23, 302.80°)
OKLaboklab(39.4% 0.0362 -0.1032)
OKLCHoklch(39.4% 0.109 289.3)
XYZxyz(7.6260, 5.6833, 19.7601)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46397C #6F7C39
analogous
#394D7C #46397C #67397C
triadic
#46397C #7C4639 #397C46
tetradic
#46397C #7C394D #6F7C39 #397C67
square
#46397C #7C394D #6F7C39 #397C67
split-complementary
#46397C #7C6739 #4D7C39
monochromatic
#171228 #2E2652 #46397C #5E4CA6 #8071BE

Accessibility & contrast

On white

9.83
#46397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#46397C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46397C
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46397C#FFFFFF#000000##FFFFFF
##46397C1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457E
Deuteranopia (green-blind)
#1C427A
Tritanopia (blue-blind)
#374755
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #46397c;
/* rgb */ color: rgb(70, 57, 124);
/* oklch */ color: oklch(39.4% 0.109 289.3);
Tailwind
colors: {
  custom: {
    50: '#7d6fa2',
    500: '#46397c',
    950: '#000000',
  },
}
SCSS
$custom: #46397c;
$custom-light: #7d6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#46397c",
  "rgb": {
    "r": 70,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 251.642,
    "s": 37.017,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39403,
    "c": 0.10933,
    "h": 289.3
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#46397C
secondary
#9BA76A
accent
#CD5BB7
background
#F7F6FA
surface
#EEECF3
border
#C9C7CD
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #46397C

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

Preview Lab → · Contrast checker → · Palette generator →

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