#46237A#46237A

#46237A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.140 H 297.2°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#46237A
RGBrgb(70, 35, 122)
HSLhsl(264, 55%, 31%)
HSVhsv(264, 71%, 48%)
CMYKcmyk(42.6%, 71.3%, 0%, 52.2%)
CIE-LABlab(23.37, 36.22, -43.52)
CIE-LCHlch(23.37, 56.62, 309.77°)
OKLaboklab(35.53% 0.0637 -0.1243)
OKLCHoklch(35.53% 0.14 297.2)
XYZxyz(6.6388, 3.9092, 18.8134)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46237A #577A23
analogous
#232B7A #46237A #71237A
triadic
#46237A #7A4623 #237A46
tetradic
#46237A #7A232B #577A23 #237A71
square
#46237A #7A232B #577A23 #237A71
split-complementary
#46237A #7A7123 #2B7A23
monochromatic
#0F081B #2B154A #46237A #6131AA #7F4CCC

Accessibility & contrast

On white

11.79
#46237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#46237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46237A
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46237A#FFFFFF#000000##FFFFFF
##46237A1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#39384B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #46237a;
/* rgb */ color: rgb(70, 35, 122);
/* oklch */ color: oklch(35.5% 0.140 297.2);
Tailwind
colors: {
  custom: {
    50: '#7e61a1',
    500: '#46237a',
    950: '#000000',
  },
}
SCSS
$custom: #46237a;
$custom-light: #7e61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#46237a",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 264.138,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35532,
    "c": 0.13967,
    "h": 297.2
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#46237A
secondary
#86AD4C
accent
#DF49A3
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #46237A

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

Preview Lab → · Contrast checker → · Palette generator →

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