#321083#321083

#321083 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.170 H 285.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#321083
RGBrgb(50, 16, 131)
HSLhsl(258, 78%, 29%)
HSVhsv(258, 88%, 51%)
CMYKcmyk(61.8%, 87.8%, 0%, 48.6%)
CIE-LABlab(18.74, 44.76, -56.91)
CIE-LCHlch(18.74, 72.40, 308.19°)
OKLaboklab(32.02% 0.0439 -0.164)
OKLCHoklch(32.02% 0.17 285)
XYZxyz(5.5962, 2.6870, 21.6921)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321083 #618310
analogous
#102883 #321083 #6C1083
triadic
#321083 #833210 #108332
tetradic
#321083 #831028 #618310 #10836C
square
#321083 #831028 #618310 #10836C
split-complementary
#321083 #836C10 #288310
monochromatic
#0A031B #1D094C #321083 #4717BA #6029E5

Accessibility & contrast

On white

13.66
#321083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#321083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321083
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321083#FFFFFF#000000##FFFFFF
##3210831.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002A81
Tritanopia (blue-blind)
#00354C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #321083;
/* rgb */ color: rgb(50, 16, 131);
/* oklch */ color: oklch(32.0% 0.170 285.0);
Tailwind
colors: {
  custom: {
    50: '#7655a8',
    500: '#321083',
    950: '#000000',
  },
}
SCSS
$custom: #321083;
$custom-light: #7655a8;
$custom-dark: #000000;
JSON
{
  "hex": "#321083",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 257.739,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32021,
    "c": 0.16976,
    "h": 285
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#321083
secondary
#92B936
accent
#F533BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #321083

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

Preview Lab → · Contrast checker → · Palette generator →

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