#46257A#46257A

#46257A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.137 H 296.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#46257A
RGBrgb(70, 37, 122)
HSLhsl(263, 53%, 31%)
HSVhsv(263, 70%, 48%)
CMYKcmyk(42.6%, 69.7%, 0%, 52.2%)
CIE-LABlab(23.77, 35.11, -42.86)
CIE-LCHlch(23.77, 55.41, 309.32°)
OKLaboklab(35.82% 0.0615 -0.1224)
OKLCHoklch(35.82% 0.137 296.7)
XYZxyz(6.6993, 4.0302, 18.8335)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46257A #597A25
analogous
#252E7A #46257A #70257A
triadic
#46257A #7A4625 #257A46
tetradic
#46257A #7A252E #597A25 #257A70
square
#46257A #7A252E #597A25 #257A70
split-complementary
#46257A #7A7025 #2E7A25
monochromatic
#10091C #2B174B #46257A #6133A9 #7F50CA

Accessibility & contrast

On white

11.63
#46257A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#46257A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46257A
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46257A#FFFFFF#000000##FFFFFF
##46257A1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#39394C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #46257a;
/* rgb */ color: rgb(70, 37, 122);
/* oklch */ color: oklch(35.8% 0.137 296.7);
Tailwind
colors: {
  custom: {
    50: '#7e62a1',
    500: '#46257a',
    950: '#000000',
  },
}
SCSS
$custom: #46257a;
$custom-light: #7e62a1;
$custom-dark: #000000;
JSON
{
  "hex": "#46257a",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 263.294,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3582,
    "c": 0.13694,
    "h": 296.7
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#46257A
secondary
#88AC4E
accent
#DD4BA4
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #46257A

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

Preview Lab → · Contrast checker → · Palette generator →

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