#46297F#46297F

#46297F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.138 H 294.1°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#46297F
RGBrgb(70, 41, 127)
HSLhsl(260, 51%, 33%)
HSVhsv(260, 68%, 50%)
CMYKcmyk(44.9%, 67.7%, 0%, 50.2%)
CIE-LABlab(25.01, 34.27, -44.01)
CIE-LCHlch(25.01, 55.78, 307.91°)
OKLaboklab(36.84% 0.0562 -0.1257)
OKLCHoklch(36.84% 0.138 294.1)
XYZxyz(7.1485, 4.4201, 20.5511)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46297F #627F29
analogous
#29377F #46297F #71297F
triadic
#46297F #7F4629 #297F46
tetradic
#46297F #7F2937 #627F29 #297F71
square
#46297F #7F2937 #627F29 #297F71
split-complementary
#46297F #7F7129 #377F29
monochromatic
#130B22 #2D1A51 #46297F #6038AD #7F59C9

Accessibility & contrast

On white

11.15
#46297F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#46297F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46297F
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46297F#FFFFFF#000000##FFFFFF
##46297F1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#363D50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #46297f;
/* rgb */ color: rgb(70, 41, 127);
/* oklch */ color: oklch(36.8% 0.138 294.1);
Tailwind
colors: {
  custom: {
    50: '#7f65a5',
    500: '#46297f',
    950: '#000000',
  },
}
SCSS
$custom: #46297f;
$custom-light: #7f65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#46297f",
  "rgb": {
    "r": 70,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 260.233,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36842,
    "c": 0.13775,
    "h": 294.1
  },
  "luminance": 0.0442
}

Semantic roles & 50–950 ramp

primary
#46297F
secondary
#90AF55
accent
#DB4DAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #46297F

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

Preview Lab → · Contrast checker → · Palette generator →

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