#46308E#46308E

#46308E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.2% C 0.148 H 288.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#46308E
RGBrgb(70, 48, 142)
HSLhsl(254, 49%, 37%)
HSVhsv(254, 66%, 56%)
CMYKcmyk(50.7%, 66.2%, 0%, 44.3%)
CIE-LABlab(27.76, 34.66, -48.91)
CIE-LCHlch(27.76, 59.94, 305.32°)
OKLaboklab(39.21% 0.0467 -0.1402)
OKLCHoklch(39.21% 0.148 288.4)
XYZxyz(8.4638, 5.3686, 26.1762)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46308E #788E30
analogous
#30498E #46308E #75308E
triadic
#46308E #8E4630 #308E46
tetradic
#46308E #8E3049 #788E30 #308E75
square
#46308E #8E3049 #788E30 #308E75
split-complementary
#46308E #8E7530 #498E30
monochromatic
#191133 #2F2160 #46308E #5D3FBC #826BCD

Accessibility & contrast

On white

10.13
#46308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46308E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46308E#FFFFFF#000000##FFFFFF
##46308E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#2D475A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #46308e;
/* rgb */ color: rgb(70, 48, 142);
/* oklch */ color: oklch(39.2% 0.148 288.4);
Tailwind
colors: {
  custom: {
    50: '#806ab0',
    500: '#46308e',
    950: '#000000',
  },
}
SCSS
$custom: #46308e;
$custom-light: #806ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#46308e",
  "rgb": {
    "r": 70,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 254.043,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39208,
    "c": 0.14773,
    "h": 288.4
  },
  "luminance": 0.05369
}

Semantic roles & 50–950 ramp

primary
#46308E
secondary
#A2B465
accent
#D94FB9
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #46308E

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

Preview Lab → · Contrast checker → · Palette generator →

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