#46237F#46237F

#46237F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.146 H 295.5°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#46237F
RGBrgb(70, 35, 127)
HSLhsl(263, 57%, 32%)
HSVhsv(263, 72%, 50%)
CMYKcmyk(44.9%, 72.4%, 0%, 50.2%)
CIE-LABlab(23.79, 37.64, -46.00)
CIE-LCHlch(23.79, 59.43, 309.29°)
OKLaboklab(35.97% 0.0628 -0.1316)
OKLCHoklch(35.97% 0.146 295.5)
XYZxyz(6.9566, 4.0363, 20.4871)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46237F #5C7F23
analogous
#232E7F #46237F #74237F
triadic
#46237F #7F4623 #237F46
tetradic
#46237F #7F232E #5C7F23 #237F74
square
#46237F #7F232E #5C7F23 #237F74
split-complementary
#46237F #7F7423 #2E7F23
monochromatic
#11091F #2C164F #46237F #6030AF #7F4ECE

Accessibility & contrast

On white

11.62
#46237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#46237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46237F
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46237F#FFFFFF#000000##FFFFFF
##46237F1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#373A4E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #46237f;
/* rgb */ color: rgb(70, 35, 127);
/* oklch */ color: oklch(36.0% 0.146 295.5);
Tailwind
colors: {
  custom: {
    50: '#7f61a5',
    500: '#46237f',
    950: '#000000',
  },
}
SCSS
$custom: #46237f;
$custom-light: #7f61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#46237f",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 262.826,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35966,
    "c": 0.1458,
    "h": 295.5
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#46237F
secondary
#8BB14C
accent
#E048A6
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #46237F

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

Preview Lab → · Contrast checker → · Palette generator →

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