#46238D#46238D

#46238D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.163 H 291.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#46238D
RGBrgb(70, 35, 141)
HSLhsl(260, 60%, 35%)
HSVhsv(260, 75%, 55%)
CMYKcmyk(50.4%, 75.2%, 0%, 44.7%)
CIE-LABlab(25.04, 41.63, -52.74)
CIE-LCHlch(25.04, 67.19, 308.29°)
OKLaboklab(37.23% 0.0597 -0.1514)
OKLCHoklch(37.23% 0.163 291.5)
XYZxyz(7.9332, 4.4269, 25.6306)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46238D #6A8D23
analogous
#23358D #46238D #7B238D
triadic
#46238D #8D4623 #238D46
tetradic
#46238D #8D2335 #6A8D23 #238D7B
square
#46238D #8D2335 #6A8D23 #238D7B
split-complementary
#46238D #8D7B23 #358D23
monochromatic
#150B2B #2E175C #46238D #5E2FBE #8055D5

Accessibility & contrast

On white

11.14
#46238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#46238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46238D
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46238D#FFFFFF#000000##FFFFFF
##46238D1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#2F3F56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #46238d;
/* rgb */ color: rgb(70, 35, 141);
/* oklch */ color: oklch(37.2% 0.163 291.5);
Tailwind
colors: {
  custom: {
    50: '#8162af',
    500: '#46238d',
    950: '#000000',
  },
}
SCSS
$custom: #46238d;
$custom-light: #8162af;
$custom-dark: #000000;
JSON
{
  "hex": "#46238d",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 259.811,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37233,
    "c": 0.16272,
    "h": 291.5
  },
  "luminance": 0.04427
}

Semantic roles & 50–950 ramp

primary
#46238D
secondary
#97B953
accent
#E344AF
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #46238D

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

Preview Lab → · Contrast checker → · Palette generator →

#46238D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva