#46237E#46237E

#46237E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.145 H 295.8°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#46237E
RGBrgb(70, 35, 126)
HSLhsl(263, 57%, 32%)
HSVhsv(263, 72%, 49%)
CMYKcmyk(44.4%, 72.2%, 0%, 50.6%)
CIE-LABlab(23.71, 37.35, -45.51)
CIE-LCHlch(23.71, 58.87, 309.38°)
OKLaboklab(35.88% 0.063 -0.1301)
OKLCHoklch(35.88% 0.145 295.8)
XYZxyz(6.8917, 4.0104, 20.1456)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46237E #5B7E23
analogous
#232E7E #46237E #74237E
triadic
#46237E #7E4623 #237E46
tetradic
#46237E #7E232E #5B7E23 #237E74
square
#46237E #7E232E #5B7E23 #237E74
split-complementary
#46237E #7E7423 #2E7E23
monochromatic
#11081E #2B164E #46237E #6130AE #7F4ECE

Accessibility & contrast

On white

11.65
#46237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#46237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46237E
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46237E#FFFFFF#000000##FFFFFF
##46237E1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#373A4E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #46237e;
/* rgb */ color: rgb(70, 35, 126);
/* oklch */ color: oklch(35.9% 0.145 295.8);
Tailwind
colors: {
  custom: {
    50: '#7f61a4',
    500: '#46237e',
    950: '#000000',
  },
}
SCSS
$custom: #46237e;
$custom-light: #7f61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#46237e",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 263.077,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35878,
    "c": 0.14458,
    "h": 295.8
  },
  "luminance": 0.04011
}

Semantic roles & 50–950 ramp

primary
#46237E
secondary
#8AB04C
accent
#E048A5
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #46237E

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

Preview Lab → · Contrast checker → · Palette generator →

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