#46238A#46238A

#46238A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.159 H 292.3°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#46238A
RGBrgb(70, 35, 138)
HSLhsl(260, 60%, 34%)
HSVhsv(260, 75%, 54%)
CMYKcmyk(49.3%, 74.6%, 0%, 45.9%)
CIE-LABlab(24.76, 40.77, -51.32)
CIE-LCHlch(24.76, 65.55, 308.47°)
OKLaboklab(36.96% 0.0605 -0.1472)
OKLCHoklch(36.96% 0.159 292.3)
XYZxyz(7.7130, 4.3389, 24.4709)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46238A #678A23
analogous
#23348A #46238A #7A238A
triadic
#46238A #8A4623 #238A46
tetradic
#46238A #8A2334 #678A23 #238A7A
square
#46238A #8A2334 #678A23 #238A7A
split-complementary
#46238A #8A7A23 #348A23
monochromatic
#140A28 #2D1759 #46238A #5F2FBB #7F54D4

Accessibility & contrast

On white

11.24
#46238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#46238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46238A
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46238A#FFFFFF#000000##FFFFFF
##46238A1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#313E54
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #46238a;
/* rgb */ color: rgb(70, 35, 138);
/* oklch */ color: oklch(37.0% 0.159 292.3);
Tailwind
colors: {
  custom: {
    50: '#8161ad',
    500: '#46238a',
    950: '#000000',
  },
}
SCSS
$custom: #46238a;
$custom-light: #8161ad;
$custom-dark: #000000;
JSON
{
  "hex": "#46238a",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 260.388,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36955,
    "c": 0.15913,
    "h": 292.3
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

primary
#46238A
secondary
#95B751
accent
#E345AD
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #46238A

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

Preview Lab → · Contrast checker → · Palette generator →

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