#46309F#46309F

#46309F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.170 H 285.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#46309F
RGBrgb(70, 48, 159)
HSLhsl(252, 54%, 41%)
HSVhsv(252, 70%, 62%)
CMYKcmyk(56%, 69.8%, 0%, 37.6%)
CIE-LABlab(29.21, 39.91, -56.97)
CIE-LCHlch(29.21, 69.56, 305.02°)
OKLaboklab(40.7% 0.0442 -0.1638)
OKLCHoklch(40.7% 0.17 285.1)
XYZxyz(9.8389, 5.9186, 33.4181)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46309F #899F30
analogous
#30519F #46309F #7D309F
triadic
#46309F #9F4630 #309F46
tetradic
#46309F #9F3051 #899F30 #309F7D
square
#46309F #9F3051 #899F30 #309F7D
split-complementary
#46309F #9F7D30 #519F30
monochromatic
#1D1441 #312270 #46309F #5F45C7 #8774D5

Accessibility & contrast

On white

9.62
#46309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#46309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46309F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46309F#FFFFFF#000000##FFFFFF
##46309F1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#1E4D63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #46309f;
/* rgb */ color: rgb(70, 48, 159);
/* oklch */ color: oklch(40.7% 0.170 285.1);
Tailwind
colors: {
  custom: {
    50: '#836abc',
    500: '#46309f',
    950: '#000000',
  },
}
SCSS
$custom: #46309f;
$custom-light: #836abc;
$custom-dark: #000000;
JSON
{
  "hex": "#46309f",
  "rgb": {
    "r": 70,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 251.892,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40699,
    "c": 0.16968,
    "h": 285.1
  },
  "luminance": 0.05919
}

Semantic roles & 50–950 ramp

primary
#46309F
secondary
#ADBD6E
accent
#DD4BC0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #46309F

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

Preview Lab → · Contrast checker → · Palette generator →

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