#46236F#46236F

#46236F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.6% C 0.126 H 301.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#46236F
RGBrgb(70, 35, 111)
HSLhsl(268, 52%, 29%)
HSVhsv(268, 68%, 44%)
CMYKcmyk(36.9%, 68.5%, 0%, 56.5%)
CIE-LABlab(22.49, 33.15, -37.91)
CIE-LCHlch(22.49, 50.36, 311.17°)
OKLaboklab(34.62% 0.0653 -0.1078)
OKLCHoklch(34.62% 0.126 301.2)
XYZxyz(5.9954, 3.6518, 15.4249)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46236F #4C6F23
analogous
#23266F #46236F #6C236F
triadic
#46236F #6F4623 #236F46
tetradic
#46236F #6F2326 #4C6F23 #236F6C
square
#46236F #6F2326 #4C6F23 #236F6C
split-complementary
#46236F #6F6C23 #266F23
monochromatic
#0F0717 #291440 #46236F #63329E #8147C5

Accessibility & contrast

On white

12.14
#46236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#46236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46236F
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46236F#FFFFFF#000000##FFFFFF
##46236F1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#02356D
Tritanopia (blue-blind)
#3D3445
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #46236f;
/* rgb */ color: rgb(70, 35, 111);
/* oklch */ color: oklch(34.6% 0.126 301.2);
Tailwind
colors: {
  custom: {
    50: '#7d6099',
    500: '#46236f',
    950: '#000000',
  },
}
SCSS
$custom: #46236f;
$custom-light: #7d6099;
$custom-dark: #000000;
JSON
{
  "hex": "#46236f",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 267.632,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3462,
    "c": 0.126,
    "h": 301.2
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#46236F
secondary
#7AA24C
accent
#DB4C9A
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #46236F

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

Preview Lab → · Contrast checker → · Palette generator →

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