#46247C#46247C

#46247C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.141 H 296.3°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#46247C
RGBrgb(70, 36, 124)
HSLhsl(263, 55%, 31%)
HSVhsv(263, 71%, 49%)
CMYKcmyk(43.5%, 71%, 0%, 51.4%)
CIE-LABlab(23.73, 36.24, -44.19)
CIE-LCHlch(23.73, 57.15, 309.35°)
OKLaboklab(35.85% 0.0623 -0.1263)
OKLCHoklch(35.85% 0.141 296.3)
XYZxyz(6.7938, 4.0189, 19.4827)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46247C #5A7C24
analogous
#242E7C #46247C #72247C
triadic
#46247C #7C4624 #247C46
tetradic
#46247C #7C242E #5A7C24 #247C72
square
#46247C #7C242E #5A7C24 #247C72
split-complementary
#46247C #7C7224 #2E7C24
monochromatic
#10081D #2B164D #46247C #6132AB #7F4FCC

Accessibility & contrast

On white

11.64
#46247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#46247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46247C
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46247C#FFFFFF#000000##FFFFFF
##46247C1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#38394D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #46247c;
/* rgb */ color: rgb(70, 36, 124);
/* oklch */ color: oklch(35.8% 0.141 296.3);
Tailwind
colors: {
  custom: {
    50: '#7f61a3',
    500: '#46247c',
    950: '#000000',
  },
}
SCSS
$custom: #46247c;
$custom-light: #7f61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#46247c",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 263.182,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35846,
    "c": 0.1408,
    "h": 296.3
  },
  "luminance": 0.04019
}

Semantic roles & 50–950 ramp

primary
#46247C
secondary
#89AE4D
accent
#DE49A5
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #46247C

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

Preview Lab → · Contrast checker → · Palette generator →

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