#46256E#46256E

#46256E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.8% C 0.122 H 301.1°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#46256E
RGBrgb(70, 37, 110)
HSLhsl(267, 50%, 29%)
HSVhsv(267, 66%, 43%)
CMYKcmyk(36.4%, 66.4%, 0%, 56.9%)
CIE-LABlab(22.83, 31.73, -36.70)
CIE-LCHlch(22.83, 48.51, 310.84°)
OKLaboklab(34.85% 0.0628 -0.1042)
OKLCHoklch(34.85% 0.122 301.1)
XYZxyz(6.0012, 3.7510, 15.1567)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46256E #4D6E25
analogous
#25296E #46256E #6B256E
triadic
#46256E #6E4625 #256E46
tetradic
#46256E #6E2529 #4D6E25 #256E6B
square
#46256E #6E2529 #4D6E25 #256E6B
split-complementary
#46256E #6E6B25 #296E25
monochromatic
#0F0817 #291640 #46256E #63349C #814BC2

Accessibility & contrast

On white

12.00
#46256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#46256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46256E
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46256E#FFFFFF#000000##FFFFFF
##46256E1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#09366C
Tritanopia (blue-blind)
#3E3546
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #46256e;
/* rgb */ color: rgb(70, 37, 110);
/* oklch */ color: oklch(34.8% 0.122 301.1);
Tailwind
colors: {
  custom: {
    50: '#7d6198',
    500: '#46256e',
    950: '#000000',
  },
}
SCSS
$custom: #46256e;
$custom-light: #7d6198;
$custom-dark: #000000;
JSON
{
  "hex": "#46256e",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 267.123,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34845,
    "c": 0.12172,
    "h": 301.1
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#46256E
secondary
#7BA14E
accent
#D94F9B
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #46256E

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

Preview Lab → · Contrast checker → · Palette generator →

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