#46257C#46257C

#46257C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.139 H 296.0°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#46257C
RGBrgb(70, 37, 124)
HSLhsl(263, 54%, 32%)
HSVhsv(263, 70%, 49%)
CMYKcmyk(43.5%, 70.2%, 0%, 51.4%)
CIE-LABlab(23.94, 35.68, -43.87)
CIE-LCHlch(23.94, 56.55, 309.13°)
OKLaboklab(35.99% 0.0612 -0.1253)
OKLCHoklch(35.99% 0.139 296)
XYZxyz(6.8245, 4.0803, 19.4929)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46257C #5B7C25
analogous
#25307C #46257C #72257C
triadic
#46257C #7C4625 #257C46
tetradic
#46257C #7C2530 #5B7C25 #257C72
square
#46257C #7C2530 #5B7C25 #257C72
split-complementary
#46257C #7C7225 #307C25
monochromatic
#11091E #2B174D #46257C #6133AB #7F50CB

Accessibility & contrast

On white

11.56
#46257C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46257C
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46257C#FFFFFF#000000##FFFFFF
##46257C1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#383A4D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #46257c;
/* rgb */ color: rgb(70, 37, 124);
/* oklch */ color: oklch(36.0% 0.139 296.0);
Tailwind
colors: {
  custom: {
    50: '#7e62a3',
    500: '#46257c',
    950: '#000000',
  },
}
SCSS
$custom: #46257c;
$custom-light: #7e62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#46257c",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 262.759,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3599,
    "c": 0.13945,
    "h": 296
  },
  "luminance": 0.0408
}

Semantic roles & 50–950 ramp

primary
#46257C
secondary
#8AAE4F
accent
#DD4AA6
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #46257C

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

Preview Lab → · Contrast checker → · Palette generator →

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