#321683#321683

#321683 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.165 H 284.3°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#321683
RGBrgb(50, 22, 131)
HSLhsl(255, 71%, 30%)
HSVhsv(255, 83%, 51%)
CMYKcmyk(61.8%, 83.2%, 0%, 48.6%)
CIE-LABlab(19.60, 42.24, -55.49)
CIE-LCHlch(19.60, 69.74, 307.28°)
OKLaboklab(32.61% 0.0407 -0.16)
OKLCHoklch(32.61% 0.165 284.3)
XYZxyz(5.6978, 2.8902, 21.7260)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321683 #678316
analogous
#163083 #321683 #691683
triadic
#321683 #833216 #168332
tetradic
#321683 #831630 #678316 #168369
square
#321683 #831630 #678316 #168369
split-complementary
#321683 #836916 #308316
monochromatic
#0A041A #1E0D4F #321683 #461FB7 #6136DD

Accessibility & contrast

On white

13.31
#321683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#321683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321683
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321683#FFFFFF#000000##FFFFFF
##3216831.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#00374D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #321683;
/* rgb */ color: rgb(50, 22, 131);
/* oklch */ color: oklch(32.6% 0.165 284.3);
Tailwind
colors: {
  custom: {
    50: '#7558a8',
    500: '#321683',
    950: '#000000',
  },
}
SCSS
$custom: #321683;
$custom-light: #7558a8;
$custom-dark: #000000;
JSON
{
  "hex": "#321683",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 131
  },
  "hsl": {
    "h": 255.413,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.32608,
    "c": 0.16505,
    "h": 284.3
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#321683
secondary
#98B73D
accent
#EE3AC0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #321683

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

Preview Lab → · Contrast checker → · Palette generator →

#321683 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva