#46237C#46237C

#46237C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.142 H 296.5°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#46237C
RGBrgb(70, 35, 124)
HSLhsl(264, 56%, 31%)
HSVhsv(264, 72%, 49%)
CMYKcmyk(43.5%, 71.8%, 0%, 51.4%)
CIE-LABlab(23.54, 36.79, -44.52)
CIE-LCHlch(23.54, 57.75, 309.57°)
OKLaboklab(35.7% 0.0634 -0.1272)
OKLCHoklch(35.7% 0.142 296.5)
XYZxyz(6.7640, 3.9593, 19.4727)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46237C #597C23
analogous
#232C7C #46237C #72237C
triadic
#46237C #7C4623 #237C46
tetradic
#46237C #7C232C #597C23 #237C72
square
#46237C #7C232C #597C23 #237C72
split-complementary
#46237C #7C7223 #2C7C23
monochromatic
#10081D #2B164C #46237C #6130AC #7F4DCD

Accessibility & contrast

On white

11.72
#46237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#46237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46237C
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46237C#FFFFFF#000000##FFFFFF
##46237C1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #46237c;
/* rgb */ color: rgb(70, 35, 124);
/* oklch */ color: oklch(35.7% 0.142 296.5);
Tailwind
colors: {
  custom: {
    50: '#7f61a3',
    500: '#46237c',
    950: '#000000',
  },
}
SCSS
$custom: #46237c;
$custom-light: #7f61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#46237c",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 263.596,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35704,
    "c": 0.14213,
    "h": 296.5
  },
  "luminance": 0.03959
}

Semantic roles & 50–950 ramp

primary
#46237C
secondary
#88AF4C
accent
#DF49A4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #46237C

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

Preview Lab → · Contrast checker → · Palette generator →

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