#46236A#46236A

#46236A is a dark, moderate violet. Relative luminance 0.035; OKLCH L 34.2% C 0.120 H 303.3°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#46236A
RGBrgb(70, 35, 106)
HSLhsl(270, 50%, 28%)
HSVhsv(270, 67%, 42%)
CMYKcmyk(34%, 67%, 0%, 58.4%)
CIE-LABlab(22.11, 31.78, -35.28)
CIE-LCHlch(22.11, 47.48, 312.01°)
OKLaboklab(34.23% 0.0657 -0.1001)
OKLCHoklch(34.23% 0.12 303.3)
XYZxyz(5.7277, 3.5448, 14.0153)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46236A #476A23
analogous
#23246A #46236A #69236A
triadic
#46236A #6A4623 #236A46
tetradic
#46236A #6A2324 #476A23 #236A69
square
#46236A #6A2324 #476A23 #236A69
split-complementary
#46236A #6A6923 #246A23
monochromatic
#0F0817 #28143C #46236A #643298 #8346C2

Accessibility & contrast

On white

12.29
#46236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#46236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46236A
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46236A#FFFFFF#000000##FFFFFF
##46236A1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#0D3568
Tritanopia (blue-blind)
#3F3243
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #46236a;
/* rgb */ color: rgb(70, 35, 106);
/* oklch */ color: oklch(34.2% 0.120 303.3);
Tailwind
colors: {
  custom: {
    50: '#7d6095',
    500: '#46236a',
    950: '#000000',
  },
}
SCSS
$custom: #46236a;
$custom-light: #7d6095;
$custom-dark: #000000;
JSON
{
  "hex": "#46236a",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 269.577,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34225,
    "c": 0.11973,
    "h": 303.3
  },
  "luminance": 0.03545
}

Semantic roles & 50–950 ramp

primary
#46236A
secondary
#759D4B
accent
#DA4E95
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #46236A

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

Preview Lab → · Contrast checker → · Palette generator →

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