#46247B#46247B

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

Color values

HEX#46247B
RGBrgb(70, 36, 123)
HSLhsl(263, 55%, 31%)
HSVhsv(263, 71%, 48%)
CMYKcmyk(43.1%, 70.7%, 0%, 51.8%)
CIE-LABlab(23.65, 35.95, -43.69)
CIE-LCHlch(23.65, 56.58, 309.45°)
OKLaboklab(35.76% 0.0625 -0.1248)
OKLCHoklch(35.76% 0.14 296.6)
XYZxyz(6.7309, 3.9938, 19.1513)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46247B #597B24
analogous
#242D7B #46247B #71247B
triadic
#46247B #7B4624 #247B46
tetradic
#46247B #7B242D #597B24 #247B71
square
#46247B #7B242D #597B24 #247B71
split-complementary
#46247B #7B7124 #2D7B24
monochromatic
#10081C #2B164C #46247B #6132AA #7F4ECB

Accessibility & contrast

On white

11.67
#46247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46247B
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46247B#FFFFFF#000000##FFFFFF
##46247B1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#38394C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #46247b;
/* rgb */ color: rgb(70, 36, 123);
/* oklch */ color: oklch(35.8% 0.140 296.6);
Tailwind
colors: {
  custom: {
    50: '#7e61a2',
    500: '#46247b',
    950: '#000000',
  },
}
SCSS
$custom: #46247b;
$custom-light: #7e61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#46247b",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 263.448,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3576,
    "c": 0.13956,
    "h": 296.6
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#46247B
secondary
#88AD4D
accent
#DE4AA4
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #46247B

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

Preview Lab → · Contrast checker → · Palette generator →

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