#46246C#46246C

#46246C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.121 H 302.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#46246C
RGBrgb(70, 36, 108)
HSLhsl(268, 50%, 28%)
HSVhsv(268, 67%, 42%)
CMYKcmyk(35.2%, 66.7%, 0%, 57.6%)
CIE-LABlab(22.47, 31.75, -36.00)
CIE-LCHlch(22.47, 48.00, 311.42°)
OKLaboklab(34.53% 0.0643 -0.1022)
OKLCHoklch(34.53% 0.121 302.2)
XYZxyz(5.8628, 3.6465, 14.5794)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46246C #4A6C24
analogous
#24266C #46246C #6A246C
triadic
#46246C #6C4624 #246C46
tetradic
#46246C #6C2426 #4A6C24 #246C6A
square
#46246C #6C2426 #4A6C24 #246C6A
split-complementary
#46246C #6C6A24 #266C24
monochromatic
#0F0817 #28153E #46246C #64339A #8248C2

Accessibility & contrast

On white

12.14
#46246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#46246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46246C
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46246C#FFFFFF#000000##FFFFFF
##46246C1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #46246c;
/* rgb */ color: rgb(70, 36, 108);
/* oklch */ color: oklch(34.5% 0.121 302.2);
Tailwind
colors: {
  custom: {
    50: '#7d6197',
    500: '#46246c',
    950: '#000000',
  },
}
SCSS
$custom: #46246c;
$custom-light: #7d6197;
$custom-dark: #000000;
JSON
{
  "hex": "#46246c",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 268.333,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34534,
    "c": 0.12071,
    "h": 302.2
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#46246C
secondary
#789F4D
accent
#DA4E98
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #46246C

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

Preview Lab → · Contrast checker → · Palette generator →

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