#46235B#46235B

#46235B is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.1% C 0.101 H 310.9°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#46235B
RGBrgb(70, 35, 91)
HSLhsl(278, 44%, 25%)
HSVhsv(278, 62%, 36%)
CMYKcmyk(23.1%, 61.5%, 0%, 64.3%)
CIE-LABlab(21.05, 27.81, -27.12)
CIE-LCHlch(21.05, 38.85, 315.72°)
OKLaboklab(33.12% 0.066 -0.0761)
OKLCHoklch(33.12% 0.101 310.9)
XYZxyz(5.0148, 3.2596, 10.2605)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46235B #385B23
analogous
#2A235B #46235B #5B2354
triadic
#46235B #5B4623 #235B46
tetradic
#46235B #5B2A23 #385B23 #23545B
square
#46235B #5B2A23 #385B23 #23545B
split-complementary
#46235B #545B23 #235B2A
monochromatic
#110916 #24122F #46235B #683487 #8A45B3

Accessibility & contrast

On white

12.71
#46235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#46235B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46235B
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46235B#FFFFFF#000000##FFFFFF
##46235B1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11315D
Deuteranopia (green-blind)
#1E335A
Tritanopia (blue-blind)
#432D3B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #46235b;
/* rgb */ color: rgb(70, 35, 91);
/* oklch */ color: oklch(33.1% 0.101 310.9);
Tailwind
colors: {
  custom: {
    50: '#7b608a',
    500: '#46235b',
    950: '#000000',
  },
}
SCSS
$custom: #46235b;
$custom-light: #7b608a;
$custom-dark: #000000;
JSON
{
  "hex": "#46235b",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 277.5,
    "s": 44.444,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33124,
    "c": 0.10078,
    "h": 310.9
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#46235B
secondary
#648F4B
accent
#D45484
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09050B
muted
#7B797C

Preview Lab

Preview with #46235B

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

Preview Lab → · Contrast checker → · Palette generator →

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