#46246F#46246F

#46246F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.125 H 300.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#46246F
RGBrgb(70, 36, 111)
HSLhsl(267, 51%, 29%)
HSVhsv(267, 68%, 44%)
CMYKcmyk(36.9%, 67.6%, 0%, 56.5%)
CIE-LABlab(22.69, 32.58, -37.57)
CIE-LCHlch(22.69, 49.73, 310.93°)
OKLaboklab(34.77% 0.064 -0.1068)
OKLCHoklch(34.77% 0.125 300.9)
XYZxyz(6.0252, 3.7115, 15.4348)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46246F #4D6F24
analogous
#24286F #46246F #6C246F
triadic
#46246F #6F4624 #246F46
tetradic
#46246F #6F2428 #4D6F24 #246F6C
square
#46246F #6F2428 #4D6F24 #246F6C
split-complementary
#46246F #6F6C24 #286F24
monochromatic
#0F0717 #291541 #46246F #63339D #8149C4

Accessibility & contrast

On white

12.05
#46246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#46246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46246F
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46246F#FFFFFF#000000##FFFFFF
##46246F1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#05366D
Tritanopia (blue-blind)
#3D3546
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #46246f;
/* rgb */ color: rgb(70, 36, 111);
/* oklch */ color: oklch(34.8% 0.125 300.9);
Tailwind
colors: {
  custom: {
    50: '#7d6199',
    500: '#46246f',
    950: '#000000',
  },
}
SCSS
$custom: #46246f;
$custom-light: #7d6199;
$custom-dark: #000000;
JSON
{
  "hex": "#46246f",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 267.2,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3477,
    "c": 0.12451,
    "h": 300.9
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#46246F
secondary
#7BA24D
accent
#DA4D9A
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #46246F

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

Preview Lab → · Contrast checker → · Palette generator →

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