#46256C#46256C

#46256C is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.7% C 0.119 H 301.9°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#46256C
RGBrgb(70, 37, 108)
HSLhsl(268, 49%, 28%)
HSVhsv(268, 66%, 42%)
CMYKcmyk(35.2%, 65.7%, 0%, 57.6%)
CIE-LABlab(22.68, 31.17, -35.65)
CIE-LCHlch(22.68, 47.36, 311.16°)
OKLaboklab(34.69% 0.063 -0.1012)
OKLCHoklch(34.69% 0.119 301.9)
XYZxyz(5.8935, 3.7079, 14.5897)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46256C #4B6C25
analogous
#25276C #46256C #69256C
triadic
#46256C #6C4625 #256C46
tetradic
#46256C #6C2527 #4B6C25 #256C69
square
#46256C #6C2527 #4B6C25 #256C69
split-complementary
#46256C #6C6925 #276C25
monochromatic
#0F0817 #28153E #46256C #64359A #824AC1

Accessibility & contrast

On white

12.06
#46256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#46256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46256C
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46256C#FFFFFF#000000##FFFFFF
##46256C1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#0E366A
Tritanopia (blue-blind)
#3E3444
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #46256c;
/* rgb */ color: rgb(70, 37, 108);
/* oklch */ color: oklch(34.7% 0.119 301.9);
Tailwind
colors: {
  custom: {
    50: '#7d6197',
    500: '#46256c',
    950: '#000000',
  },
}
SCSS
$custom: #46256c;
$custom-light: #7d6197;
$custom-dark: #000000;
JSON
{
  "hex": "#46256c",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 267.887,
    "s": 48.966,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3469,
    "c": 0.11916,
    "h": 301.9
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#46256C
secondary
#799F4E
accent
#D94F99
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #46256C

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

Preview Lab → · Contrast checker → · Palette generator →

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