#46235F#46235F

#46235F is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.4% C 0.106 H 308.7°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#46235F
RGBrgb(70, 35, 95)
HSLhsl(275, 46%, 25%)
HSVhsv(275, 63%, 37%)
CMYKcmyk(26.3%, 63.2%, 0%, 62.7%)
CIE-LABlab(21.32, 28.85, -29.34)
CIE-LCHlch(21.32, 41.15, 314.51°)
OKLaboklab(33.41% 0.0661 -0.0826)
OKLCHoklch(33.41% 0.106 308.7)
XYZxyz(5.1920, 3.3305, 11.1936)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46235F #3C5F23
analogous
#28235F #46235F #5F235A
triadic
#46235F #5F4623 #235F46
tetradic
#46235F #5F2823 #3C5F23 #235A5F
square
#46235F #5F2823 #3C5F23 #235A5F
split-complementary
#46235F #5A5F23 #235F28
monochromatic
#100816 #251332 #46235F #67338C #8844B8

Accessibility & contrast

On white

12.61
#46235F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#46235F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46235F
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46235F#FFFFFF#000000##FFFFFF
##46235F1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3261
Deuteranopia (green-blind)
#1B345E
Tritanopia (blue-blind)
#422E3D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #46235f;
/* rgb */ color: rgb(70, 35, 95);
/* oklch */ color: oklch(33.4% 0.106 308.7);
Tailwind
colors: {
  custom: {
    50: '#7c608d',
    500: '#46235f',
    950: '#000000',
  },
}
SCSS
$custom: #46235f;
$custom-light: #7c608d;
$custom-dark: #000000;
JSON
{
  "hex": "#46235f",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 275,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33405,
    "c": 0.10583,
    "h": 308.7
  },
  "luminance": 0.0333
}

Semantic roles & 50–950 ramp

primary
#46235F
secondary
#69934B
accent
#D65289
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #46235F

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

Preview Lab → · Contrast checker → · Palette generator →

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