#46397F#46397F

#46397F is a dark, moderate violet. Relative luminance 0.058; OKLCH L 39.6% C 0.114 H 288.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#46397F
RGBrgb(70, 57, 127)
HSLhsl(251, 38%, 36%)
HSVhsv(251, 55%, 50%)
CMYKcmyk(44.9%, 55.1%, 0%, 50.2%)
CIE-LABlab(28.80, 24.35, -37.90)
CIE-LCHlch(28.80, 45.05, 302.72°)
OKLaboklab(39.62% 0.0364 -0.1077)
OKLCHoklch(39.62% 0.114 288.7)
XYZxyz(7.8186, 5.7604, 20.7745)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46397F #727F39
analogous
#394F7F #46397F #69397F
triadic
#46397F #7F4639 #397F46
tetradic
#46397F #7F394F #727F39 #397F69
square
#46397F #7F394F #727F39 #397F69
split-complementary
#46397F #7F6939 #4F7F39
monochromatic
#17132B #2F2655 #46397F #5D4CA9 #8172C0

Accessibility & contrast

On white

9.76
#46397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#46397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46397F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46397F#FFFFFF#000000##FFFFFF
##46397F1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184581
Deuteranopia (green-blind)
#18427D
Tritanopia (blue-blind)
#354856
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #46397f;
/* rgb */ color: rgb(70, 57, 127);
/* oklch */ color: oklch(39.6% 0.114 288.7);
Tailwind
colors: {
  custom: {
    50: '#7d6fa4',
    500: '#46397f',
    950: '#000000',
  },
}
SCSS
$custom: #46397f;
$custom-light: #7d6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#46397f",
  "rgb": {
    "r": 70,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 251.143,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39617,
    "c": 0.11372,
    "h": 288.7
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#46397F
secondary
#9EA96B
accent
#CE5AB8
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #46397F

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

Preview Lab → · Contrast checker → · Palette generator →

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