#321883#321883

#321883 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.163 H 284.0°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#321883
RGBrgb(50, 24, 131)
HSLhsl(255, 69%, 30%)
HSVhsv(255, 82%, 51%)
CMYKcmyk(61.8%, 81.7%, 0%, 48.6%)
CIE-LABlab(19.92, 41.30, -54.96)
CIE-LCHlch(19.92, 68.75, 306.93°)
OKLaboklab(32.83% 0.0394 -0.1584)
OKLCHoklch(32.83% 0.163 284)
XYZxyz(5.7375, 2.9697, 21.7392)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321883 #698318
analogous
#183483 #321883 #671883
triadic
#321883 #833218 #188332
tetradic
#321883 #831834 #698318 #188367
square
#321883 #831834 #698318 #188367
split-complementary
#321883 #836718 #348318
monochromatic
#0B051C #1E0F4F #321883 #4621B7 #613ADB

Accessibility & contrast

On white

13.17
#321883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#321883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321883
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321883#FFFFFF#000000##FFFFFF
##3218831.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #321883;
/* rgb */ color: rgb(50, 24, 131);
/* oklch */ color: oklch(32.8% 0.163 284.0);
Tailwind
colors: {
  custom: {
    50: '#7559a8',
    500: '#321883',
    950: '#000000',
  },
}
SCSS
$custom: #321883;
$custom-light: #7559a8;
$custom-dark: #000000;
JSON
{
  "hex": "#321883",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 254.579,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32832,
    "c": 0.16327,
    "h": 284
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#321883
secondary
#9AB740
accent
#EC3CC1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #321883

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

Preview Lab → · Contrast checker → · Palette generator →

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