#46308D#46308D

#46308D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.146 H 288.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#46308D
RGBrgb(70, 48, 141)
HSLhsl(254, 49%, 37%)
HSVhsv(254, 66%, 55%)
CMYKcmyk(50.4%, 66%, 0%, 44.7%)
CIE-LABlab(27.68, 34.35, -48.42)
CIE-LCHlch(27.68, 59.37, 305.35°)
OKLaboklab(39.12% 0.0468 -0.1387)
OKLCHoklch(39.12% 0.146 288.6)
XYZxyz(8.3891, 5.3387, 25.7826)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46308D #778D30
analogous
#30488D #46308D #75308D
triadic
#46308D #8D4630 #308D46
tetradic
#46308D #8D3048 #778D30 #308D75
square
#46308D #8D3048 #778D30 #308D75
split-complementary
#46308D #8D7530 #488D30
monochromatic
#191132 #2F205F #46308D #5D40BB #826BCD

Accessibility & contrast

On white

10.16
#46308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#46308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46308D
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46308D#FFFFFF#000000##FFFFFF
##46308D1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#2E465A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #46308d;
/* rgb */ color: rgb(70, 48, 141);
/* oklch */ color: oklch(39.1% 0.146 288.6);
Tailwind
colors: {
  custom: {
    50: '#806aaf',
    500: '#46308d',
    950: '#000000',
  },
}
SCSS
$custom: #46308d;
$custom-light: #806aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#46308d",
  "rgb": {
    "r": 70,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 254.194,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39124,
    "c": 0.1464,
    "h": 288.6
  },
  "luminance": 0.05339
}

Semantic roles & 50–950 ramp

primary
#46308D
secondary
#A1B465
accent
#D94FB8
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #46308D

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

Preview Lab → · Contrast checker → · Palette generator →

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