#46247F#46247F

#46247F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.145 H 295.3°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#46247F
RGBrgb(70, 36, 127)
HSLhsl(262, 56%, 32%)
HSVhsv(262, 72%, 50%)
CMYKcmyk(44.9%, 71.7%, 0%, 50.2%)
CIE-LABlab(23.99, 37.09, -45.68)
CIE-LCHlch(23.99, 58.84, 309.08°)
OKLaboklab(36.1% 0.0618 -0.1306)
OKLCHoklch(36.1% 0.145 295.3)
XYZxyz(6.9864, 4.0960, 20.4971)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46247F #5D7F24
analogous
#242F7F #46247F #74247F
triadic
#46247F #7F4624 #247F46
tetradic
#46247F #7F242F #5D7F24 #247F74
square
#46247F #7F242F #5D7F24 #247F74
split-complementary
#46247F #7F7424 #2F7F24
monochromatic
#110920 #2C164F #46247F #6032AF #7F50CD

Accessibility & contrast

On white

11.54
#46247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#46247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46247F
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46247F#FFFFFF#000000##FFFFFF
##46247F1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#373A4E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #46247f;
/* rgb */ color: rgb(70, 36, 127);
/* oklch */ color: oklch(36.1% 0.145 295.3);
Tailwind
colors: {
  custom: {
    50: '#7f61a5',
    500: '#46247f',
    950: '#000000',
  },
}
SCSS
$custom: #46247f;
$custom-light: #7f61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#46247f",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 262.418,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36105,
    "c": 0.14451,
    "h": 295.3
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#46247F
secondary
#8CB14E
accent
#DF49A7
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #46247F

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

Preview Lab → · Contrast checker → · Palette generator →

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