#46237B#46237B

#46237B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.141 H 296.8°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#46237B
RGBrgb(70, 35, 123)
HSLhsl(264, 56%, 31%)
HSVhsv(264, 72%, 48%)
CMYKcmyk(43.1%, 71.5%, 0%, 51.8%)
CIE-LABlab(23.45, 36.50, -44.02)
CIE-LCHlch(23.45, 57.18, 309.67°)
OKLaboklab(35.62% 0.0636 -0.1257)
OKLCHoklch(35.62% 0.141 296.8)
XYZxyz(6.7010, 3.9341, 19.1414)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46237B #587B23
analogous
#232C7B #46237B #72237B
triadic
#46237B #7B4623 #237B46
tetradic
#46237B #7B232C #587B23 #237B72
square
#46237B #7B232C #587B23 #237B72
split-complementary
#46237B #7B7223 #2C7B23
monochromatic
#10081C #2B154B #46237B #6131AB #7F4CCC

Accessibility & contrast

On white

11.75
#46237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46237B
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46237B#FFFFFF#000000##FFFFFF
##46237B1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #46237b;
/* rgb */ color: rgb(70, 35, 123);
/* oklch */ color: oklch(35.6% 0.141 296.8);
Tailwind
colors: {
  custom: {
    50: '#7f61a2',
    500: '#46237b',
    950: '#000000',
  },
}
SCSS
$custom: #46237b;
$custom-light: #7f61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#46237b",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 263.864,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35618,
    "c": 0.1409,
    "h": 296.8
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#46237B
secondary
#87AE4C
accent
#DF49A3
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #46237B

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

Preview Lab → · Contrast checker → · Palette generator →

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