#46267F#46267F

#46267F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.142 H 294.8°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#46267F
RGBrgb(70, 38, 127)
HSLhsl(262, 54%, 32%)
HSVhsv(262, 70%, 50%)
CMYKcmyk(44.9%, 70.1%, 0%, 50.2%)
CIE-LABlab(24.39, 35.98, -45.03)
CIE-LCHlch(24.39, 57.64, 308.63°)
OKLaboklab(36.39% 0.0596 -0.1287)
OKLCHoklch(36.39% 0.142 294.8)
XYZxyz(7.0486, 4.2204, 20.5178)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46267F #5F7F26
analogous
#26337F #46267F #72267F
triadic
#46267F #7F4626 #267F46
tetradic
#46267F #7F2633 #5F7F26 #267F72
square
#46267F #7F2633 #5F7F26 #267F72
split-complementary
#46267F #7F7226 #337F26
monochromatic
#120A21 #2C1850 #46267F #6034AE #7F54CC

Accessibility & contrast

On white

11.39
#46267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#46267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46267F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46267F#FFFFFF#000000##FFFFFF
##46267F1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.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: #46267f;
/* rgb */ color: rgb(70, 38, 127);
/* oklch */ color: oklch(36.4% 0.142 294.8);
Tailwind
colors: {
  custom: {
    50: '#7f63a5',
    500: '#46267f',
    950: '#000000',
  },
}
SCSS
$custom: #46267f;
$custom-light: #7f63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#46267f",
  "rgb": {
    "r": 70,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 261.573,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36391,
    "c": 0.14186,
    "h": 294.8
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#46267F
secondary
#8EB051
accent
#DD4AA9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #46267F

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

Preview Lab → · Contrast checker → · Palette generator →

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