#46279B#46279B

#46279B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.175 H 287.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#46279B
RGBrgb(70, 39, 155)
HSLhsl(256, 60%, 38%)
HSVhsv(256, 75%, 61%)
CMYKcmyk(54.8%, 74.8%, 0%, 39.2%)
CIE-LABlab(27.07, 43.63, -58.03)
CIE-LCHlch(27.07, 72.60, 306.94°)
OKLaboklab(39.07% 0.0528 -0.1669)
OKLCHoklch(39.07% 0.175 287.6)
XYZxyz(9.1659, 5.1192, 31.5091)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46279B #7C9B27
analogous
#27429B #46279B #80279B
triadic
#46279B #9B4627 #279B46
tetradic
#46279B #9B2742 #7C9B27 #279B80
square
#46279B #9B2742 #7C9B27 #279B80
split-complementary
#46279B #9B8027 #429B27
monochromatic
#1A0E39 #301B6A #46279B #5C33CC #8364D8

Accessibility & contrast

On white

10.38
#46279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#46279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46279B
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46279B#FFFFFF#000000##FFFFFF
##46279B1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#23475F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #46279b;
/* rgb */ color: rgb(70, 39, 155);
/* oklch */ color: oklch(39.1% 0.175 287.6);
Tailwind
colors: {
  custom: {
    50: '#8364ba',
    500: '#46279b',
    950: '#000000',
  },
}
SCSS
$custom: #46279b;
$custom-light: #8364ba;
$custom-dark: #000000;
JSON
{
  "hex": "#46279b",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 256.034,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39069,
    "c": 0.17505,
    "h": 287.6
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#46279B
secondary
#A5BE60
accent
#E345B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #46279B

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

Preview Lab → · Contrast checker → · Palette generator →

#46279B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva