#46238B#46238B

#46238B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.160 H 292.1°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#46238B
RGBrgb(70, 35, 139)
HSLhsl(260, 60%, 34%)
HSVhsv(260, 75%, 55%)
CMYKcmyk(49.6%, 74.8%, 0%, 45.5%)
CIE-LABlab(24.85, 41.06, -51.79)
CIE-LCHlch(24.85, 66.09, 308.41°)
OKLaboklab(37.05% 0.0602 -0.1486)
OKLCHoklch(37.05% 0.16 292.1)
XYZxyz(7.7857, 4.3680, 24.8540)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46238B #688B23
analogous
#23348B #46238B #7A238B
triadic
#46238B #8B4623 #238B46
tetradic
#46238B #8B2334 #688B23 #238B7A
square
#46238B #8B2334 #688B23 #238B7A
split-complementary
#46238B #8B7A23 #348B23
monochromatic
#150A29 #2D175A #46238B #5F2FBC #7F54D4

Accessibility & contrast

On white

11.21
#46238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46238B
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46238B#FFFFFF#000000##FFFFFF
##46238B1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#303F55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #46238b;
/* rgb */ color: rgb(70, 35, 139);
/* oklch */ color: oklch(37.0% 0.160 292.1);
Tailwind
colors: {
  custom: {
    50: '#8161ae',
    500: '#46238b',
    950: '#000000',
  },
}
SCSS
$custom: #46238b;
$custom-light: #8161ae;
$custom-dark: #000000;
JSON
{
  "hex": "#46238b",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 260.192,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37047,
    "c": 0.16033,
    "h": 292.1
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

primary
#46238B
secondary
#96B852
accent
#E345AE
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #46238B

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

Preview Lab → · Contrast checker → · Palette generator →

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