#46258D#46258D

#46258D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.160 H 291.2°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#46258D
RGBrgb(70, 37, 141)
HSLhsl(259, 58%, 35%)
HSVhsv(259, 74%, 55%)
CMYKcmyk(50.4%, 73.8%, 0%, 44.7%)
CIE-LABlab(25.41, 40.59, -52.13)
CIE-LCHlch(25.41, 66.07, 307.90°)
OKLaboklab(37.49% 0.0579 -0.1496)
OKLCHoklch(37.49% 0.16 291.2)
XYZxyz(7.9937, 4.5480, 25.6508)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46258D #6C8D25
analogous
#25388D #46258D #7A258D
triadic
#46258D #8D4625 #258D46
tetradic
#46258D #8D2538 #6C8D25 #258D7A
square
#46258D #8D2538 #6C8D25 #258D7A
split-complementary
#46258D #8D7A25 #388D25
monochromatic
#160C2C #2E185D #46258D #5E32BD #8059D3

Accessibility & contrast

On white

11.00
#46258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#46258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46258D
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46258D#FFFFFF#000000##FFFFFF
##46258D1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#2E4056
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #46258d;
/* rgb */ color: rgb(70, 37, 141);
/* oklch */ color: oklch(37.5% 0.160 291.2);
Tailwind
colors: {
  custom: {
    50: '#8163af',
    500: '#46258d',
    950: '#000000',
  },
}
SCSS
$custom: #46258d;
$custom-light: #8163af;
$custom-dark: #000000;
JSON
{
  "hex": "#46258d",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 259.038,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37495,
    "c": 0.1604,
    "h": 291.2
  },
  "luminance": 0.04548
}

Semantic roles & 50–950 ramp

primary
#46258D
secondary
#99B856
accent
#E246B0
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #46258D

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

Preview Lab → · Contrast checker → · Palette generator →

#46258D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva