#46256F#46256F

#46256F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.9% C 0.123 H 300.7°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#46256F
RGBrgb(70, 37, 111)
HSLhsl(267, 50%, 29%)
HSVhsv(267, 67%, 44%)
CMYKcmyk(36.9%, 66.7%, 0%, 56.5%)
CIE-LABlab(22.91, 32.00, -37.23)
CIE-LCHlch(22.91, 49.09, 310.69°)
OKLaboklab(34.92% 0.0628 -0.1058)
OKLCHoklch(34.92% 0.123 300.7)
XYZxyz(6.0559, 3.7729, 15.4450)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46256F #4E6F25
analogous
#25296F #46256F #6B256F
triadic
#46256F #6F4625 #256F46
tetradic
#46256F #6F2529 #4E6F25 #256F6B
square
#46256F #6F2529 #4E6F25 #256F6B
split-complementary
#46256F #6F6B25 #296F25
monochromatic
#0E0817 #291641 #46256F #63349D #814BC3

Accessibility & contrast

On white

11.97
#46256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#46256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46256F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46256F#FFFFFF#000000##FFFFFF
##46256F1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#07366D
Tritanopia (blue-blind)
#3D3546
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #46256f;
/* rgb */ color: rgb(70, 37, 111);
/* oklch */ color: oklch(34.9% 0.123 300.7);
Tailwind
colors: {
  custom: {
    50: '#7d6299',
    500: '#46256f',
    950: '#000000',
  },
}
SCSS
$custom: #46256f;
$custom-light: #7d6299;
$custom-dark: #000000;
JSON
{
  "hex": "#46256f",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 266.757,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34924,
    "c": 0.123,
    "h": 300.7
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

primary
#46256F
secondary
#7CA24E
accent
#DA4E9B
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #46256F

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

Preview Lab → · Contrast checker → · Palette generator →

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