#46277F#46277F

#46277F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.141 H 294.6°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#46277F
RGBrgb(70, 39, 127)
HSLhsl(261, 53%, 33%)
HSVhsv(261, 69%, 50%)
CMYKcmyk(44.9%, 69.3%, 0%, 50.2%)
CIE-LABlab(24.59, 35.42, -44.69)
CIE-LCHlch(24.59, 57.03, 308.40°)
OKLaboklab(36.54% 0.0585 -0.1277)
OKLCHoklch(36.54% 0.141 294.6)
XYZxyz(7.0810, 4.2853, 20.5286)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46277F #607F27
analogous
#27347F #46277F #72277F
triadic
#46277F #7F4627 #277F46
tetradic
#46277F #7F2734 #607F27 #277F72
square
#46277F #7F2734 #607F27 #277F72
split-complementary
#46277F #7F7227 #347F27
monochromatic
#120A21 #2C1950 #46277F #6035AE #7F55CB

Accessibility & contrast

On white

11.31
#46277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#46277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46277F
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46277F#FFFFFF#000000##FFFFFF
##46277F1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#363C4F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #46277f;
/* rgb */ color: rgb(70, 39, 127);
/* oklch */ color: oklch(36.5% 0.141 294.6);
Tailwind
colors: {
  custom: {
    50: '#7f63a5',
    500: '#46277f',
    950: '#000000',
  },
}
SCSS
$custom: #46277f;
$custom-light: #7f63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#46277f",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 261.136,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36539,
    "c": 0.1405,
    "h": 294.6
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#46277F
secondary
#8FB052
accent
#DC4BA9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #46277F

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

Preview Lab → · Contrast checker → · Palette generator →

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