#46257D#46257D

#46257D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.141 H 295.7°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#46257D
RGBrgb(70, 37, 125)
HSLhsl(263, 54%, 32%)
HSVhsv(263, 70%, 49%)
CMYKcmyk(44%, 70.4%, 0%, 51%)
CIE-LABlab(24.02, 35.97, -44.37)
CIE-LCHlch(24.02, 57.11, 309.03°)
OKLaboklab(36.08% 0.061 -0.1268)
OKLCHoklch(36.08% 0.141 295.7)
XYZxyz(6.8880, 4.1057, 19.8276)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46257D #5C7D25
analogous
#25307D #46257D #72257D
triadic
#46257D #7D4625 #257D46
tetradic
#46257D #7D2530 #5C7D25 #257D72
square
#46257D #7D2530 #5C7D25 #257D72
split-complementary
#46257D #7D7225 #307D25
monochromatic
#11091F #2C174E #46257D #6033AC #7F51CB

Accessibility & contrast

On white

11.53
#46257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#46257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46257D
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46257D#FFFFFF#000000##FFFFFF
##46257D1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#373A4E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #46257d;
/* rgb */ color: rgb(70, 37, 125);
/* oklch */ color: oklch(36.1% 0.141 295.7);
Tailwind
colors: {
  custom: {
    50: '#7f62a3',
    500: '#46257d',
    950: '#000000',
  },
}
SCSS
$custom: #46257d;
$custom-light: #7f62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#46257d",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 262.5,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36075,
    "c": 0.1407,
    "h": 295.7
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#46257D
secondary
#8BAF4F
accent
#DE4AA6
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #46257D

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

Preview Lab → · Contrast checker → · Palette generator →

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