#46397B#46397B

#46397B is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.3% C 0.108 H 289.6°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#46397B
RGBrgb(70, 57, 123)
HSLhsl(252, 37%, 35%)
HSVhsv(252, 54%, 48%)
CMYKcmyk(43.1%, 53.7%, 0%, 51.8%)
CIE-LABlab(28.53, 23.11, -35.81)
CIE-LCHlch(28.53, 42.62, 302.83°)
OKLaboklab(39.33% 0.0361 -0.1016)
OKLCHoklch(39.33% 0.108 289.6)
XYZxyz(7.5631, 5.6582, 19.4287)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46397B #6E7B39
analogous
#394D7B #46397B #67397B
triadic
#46397B #7B4639 #397B46
tetradic
#46397B #7B394D #6E7B39 #397B67
square
#46397B #7B394D #6E7B39 #397B67
split-complementary
#46397B #7B6739 #4D7B39
monochromatic
#161227 #2E2651 #46397B #5E4CA5 #8071BD

Accessibility & contrast

On white

9.85
#46397B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46397B
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46397B#FFFFFF#000000##FFFFFF
##46397B1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C457D
Deuteranopia (green-blind)
#1D427A
Tritanopia (blue-blind)
#374754
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #46397b;
/* rgb */ color: rgb(70, 57, 123);
/* oklch */ color: oklch(39.3% 0.108 289.6);
Tailwind
colors: {
  custom: {
    50: '#7d6fa2',
    500: '#46397b',
    950: '#000000',
  },
}
SCSS
$custom: #46397b;
$custom-light: #7d6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#46397b",
  "rgb": {
    "r": 70,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 251.818,
    "s": 36.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39333,
    "c": 0.10786,
    "h": 289.6
  },
  "luminance": 0.05658
}

Semantic roles & 50–950 ramp

primary
#46397B
secondary
#9AA669
accent
#CD5BB6
background
#F7F6FA
surface
#EEECF3
border
#C9C7CD
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #46397B

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

Preview Lab → · Contrast checker → · Palette generator →

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