#46387D#46387D

#46387D is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.3% C 0.112 H 289.5°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#46387D
RGBrgb(70, 56, 125)
HSLhsl(252, 38%, 35%)
HSVhsv(252, 55%, 49%)
CMYKcmyk(44%, 55.2%, 0%, 51%)
CIE-LABlab(28.41, 24.37, -37.27)
CIE-LCHlch(28.41, 44.53, 303.18°)
OKLaboklab(39.28% 0.0376 -0.1059)
OKLCHoklch(39.28% 0.112 289.5)
XYZxyz(7.6406, 5.6109, 20.0785)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46387D #6F7D38
analogous
#384C7D #46387D #68387D
triadic
#46387D #7D4638 #387D46
tetradic
#46387D #7D384C #6F7D38 #387D68
square
#46387D #7D384C #6F7D38 #387D68
split-complementary
#46387D #7D6838 #4C7D38
monochromatic
#171228 #2E2553 #46387D #5E4BA7 #8070BF

Accessibility & contrast

On white

9.90
#46387D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#46387D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46387D
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46387D#FFFFFF#000000##FFFFFF
##46387D1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447F
Deuteranopia (green-blind)
#19417B
Tritanopia (blue-blind)
#364755
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #46387d;
/* rgb */ color: rgb(70, 56, 125);
/* oklch */ color: oklch(39.3% 0.112 289.5);
Tailwind
colors: {
  custom: {
    50: '#7d6fa3',
    500: '#46387d',
    950: '#000000',
  },
}
SCSS
$custom: #46387d;
$custom-light: #7d6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#46387d",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 252.174,
    "s": 38.122,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39283,
    "c": 0.11239,
    "h": 289.5
  },
  "luminance": 0.05611
}

Semantic roles & 50–950 ramp

primary
#46387D
secondary
#9BA869
accent
#CE5AB6
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #46387D

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

Preview Lab → · Contrast checker → · Palette generator →

#46387D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva