#46256A#46256A

#46256A is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.5% C 0.117 H 302.8°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#46256A
RGBrgb(70, 37, 106)
HSLhsl(269, 48%, 28%)
HSVhsv(269, 65%, 42%)
CMYKcmyk(34%, 65.1%, 0%, 58.4%)
CIE-LABlab(22.53, 30.62, -34.59)
CIE-LCHlch(22.53, 46.20, 311.51°)
OKLaboklab(34.54% 0.0631 -0.098)
OKLCHoklch(34.54% 0.117 302.8)
XYZxyz(5.7883, 3.6658, 14.0355)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46256A #496A25
analogous
#25266A #46256A #68256A
triadic
#46256A #6A4625 #256A46
tetradic
#46256A #6A2526 #496A25 #256A68
square
#46256A #6A2526 #496A25 #256A68
split-complementary
#46256A #6A6825 #266A25
monochromatic
#0F0817 #28153D #46256A #643597 #824AC0

Accessibility & contrast

On white

12.12
#46256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#46256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46256A
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46256A#FFFFFF#000000##FFFFFF
##46256A1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#113668
Tritanopia (blue-blind)
#3F3343
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #46256a;
/* rgb */ color: rgb(70, 37, 106);
/* oklch */ color: oklch(34.5% 0.117 302.8);
Tailwind
colors: {
  custom: {
    50: '#7c6195',
    500: '#46256a',
    950: '#000000',
  },
}
SCSS
$custom: #46256a;
$custom-light: #7c6195;
$custom-dark: #000000;
JSON
{
  "hex": "#46256a",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 268.696,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34536,
    "c": 0.11659,
    "h": 302.8
  },
  "luminance": 0.03666
}

Semantic roles & 50–950 ramp

primary
#46256A
secondary
#779D4E
accent
#D85097
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #46256A

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

Preview Lab → · Contrast checker → · Palette generator →

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