#46238C#46238C

#46238C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.162 H 291.8°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#46238C
RGBrgb(70, 35, 140)
HSLhsl(260, 60%, 34%)
HSVhsv(260, 75%, 55%)
CMYKcmyk(50%, 75%, 0%, 45.1%)
CIE-LABlab(24.94, 41.35, -52.27)
CIE-LCHlch(24.94, 66.64, 308.35°)
OKLaboklab(37.14% 0.06 -0.15)
OKLCHoklch(37.14% 0.162 291.8)
XYZxyz(7.8591, 4.3973, 25.2405)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46238C #698C23
analogous
#23358C #46238C #7B238C
triadic
#46238C #8C4623 #238C46
tetradic
#46238C #8C2335 #698C23 #238C7B
square
#46238C #8C2335 #698C23 #238C7B
split-complementary
#46238C #8C7B23 #358C23
monochromatic
#150B2A #2E175B #46238C #5E2FBD #7F55D4

Accessibility & contrast

On white

11.17
#46238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#46238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46238C
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46238C#FFFFFF#000000##FFFFFF
##46238C1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#2F3F55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #46238c;
/* rgb */ color: rgb(70, 35, 140);
/* oklch */ color: oklch(37.1% 0.162 291.8);
Tailwind
colors: {
  custom: {
    50: '#8161af',
    500: '#46238c',
    950: '#000000',
  },
}
SCSS
$custom: #46238c;
$custom-light: #8161af;
$custom-dark: #000000;
JSON
{
  "hex": "#46238c",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 260,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3714,
    "c": 0.16153,
    "h": 291.8
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#46238C
secondary
#96B852
accent
#E345AE
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #46238C

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

Preview Lab → · Contrast checker → · Palette generator →

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