#46238E#46238E

#46238E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.164 H 291.3°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#46238E
RGBrgb(70, 35, 142)
HSLhsl(260, 60%, 35%)
HSVhsv(260, 75%, 56%)
CMYKcmyk(50.7%, 75.4%, 0%, 44.3%)
CIE-LABlab(25.13, 41.92, -53.21)
CIE-LCHlch(25.13, 67.74, 308.23°)
OKLaboklab(37.33% 0.0595 -0.1527)
OKLCHoklch(37.33% 0.164 291.3)
XYZxyz(8.0079, 4.4568, 26.0243)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46238E #6B8E23
analogous
#23368E #46238E #7C238E
triadic
#46238E #8E4623 #238E46
tetradic
#46238E #8E2336 #6B8E23 #238E7C
square
#46238E #8E2336 #6B8E23 #238E7C
split-complementary
#46238E #8E7C23 #368E23
monochromatic
#160B2C #2E175D #46238E #5E2FBF #8056D5

Accessibility & contrast

On white

11.10
#46238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46238E
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46238E#FFFFFF#000000##FFFFFF
##46238E1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#2E4056
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #46238e;
/* rgb */ color: rgb(70, 35, 142);
/* oklch */ color: oklch(37.3% 0.164 291.3);
Tailwind
colors: {
  custom: {
    50: '#8162b0',
    500: '#46238e',
    950: '#000000',
  },
}
SCSS
$custom: #46238e;
$custom-light: #8162b0;
$custom-dark: #000000;
JSON
{
  "hex": "#46238e",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 259.626,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37326,
    "c": 0.16391,
    "h": 291.3
  },
  "luminance": 0.04457
}

Semantic roles & 50–950 ramp

primary
#46238E
secondary
#98B953
accent
#E444AF
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #46238E

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

Preview Lab → · Contrast checker → · Palette generator →

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