#46238F#46238F

#46238F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.165 H 291.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#46238F
RGBrgb(70, 35, 143)
HSLhsl(259, 61%, 35%)
HSVhsv(259, 76%, 56%)
CMYKcmyk(51%, 75.5%, 0%, 43.9%)
CIE-LABlab(25.22, 42.21, -53.68)
CIE-LCHlch(25.22, 68.28, 308.18°)
OKLaboklab(37.42% 0.0592 -0.1541)
OKLCHoklch(37.42% 0.165 291)
XYZxyz(8.0833, 4.4870, 26.4214)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46238F #6C8F23
analogous
#23368F #46238F #7C238F
triadic
#46238F #8F4623 #238F46
tetradic
#46238F #8F2336 #6C8F23 #238F7C
square
#46238F #8F2336 #6C8F23 #238F7C
split-complementary
#46238F #8F7C23 #368F23
monochromatic
#160B2D #2E175E #46238F #5E2FC0 #8057D6

Accessibility & contrast

On white

11.07
#46238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#46238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46238F
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46238F#FFFFFF#000000##FFFFFF
##46238F1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#2D4057
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #46238f;
/* rgb */ color: rgb(70, 35, 143);
/* oklch */ color: oklch(37.4% 0.165 291.0);
Tailwind
colors: {
  custom: {
    50: '#8162b1',
    500: '#46238f',
    950: '#000000',
  },
}
SCSS
$custom: #46238f;
$custom-light: #8162b1;
$custom-dark: #000000;
JSON
{
  "hex": "#46238f",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 259.444,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3742,
    "c": 0.1651,
    "h": 291
  },
  "luminance": 0.04487
}

Semantic roles & 50–950 ramp

primary
#46238F
secondary
#99BA54
accent
#E444B0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #46238F

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

Preview Lab → · Contrast checker → · Palette generator →

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