#321765#321765

#321765 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.127 H 292.7°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#321765
RGBrgb(50, 23, 101)
HSLhsl(261, 63%, 24%)
HSVhsv(261, 77%, 40%)
CMYKcmyk(50.5%, 77.2%, 0%, 60.4%)
CIE-LABlab(16.65, 32.74, -40.98)
CIE-LCHlch(16.65, 52.46, 308.62°)
OKLaboklab(29.61% 0.0492 -0.1175)
OKLCHoklch(29.61% 0.127 292.7)
XYZxyz(3.9701, 2.2304, 12.5307)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321765 #4A6517
analogous
#172365 #321765 #591765
triadic
#321765 #653217 #176532
tetradic
#321765 #651723 #4A6517 #176559
square
#321765 #651723 #4A6517 #176559
split-complementary
#321765 #655917 #236517
monochromatic
#0C0619 #190C33 #321765 #4B2297 #632EC9

Accessibility & contrast

On white

14.52
#321765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#321765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321765
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321765#FFFFFF#000000##FFFFFF
##3217651.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002863
Tritanopia (blue-blind)
#222C3C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #321765;
/* rgb */ color: rgb(50, 23, 101);
/* oklch */ color: oklch(29.6% 0.127 292.7);
Tailwind
colors: {
  custom: {
    50: '#705792',
    500: '#321765',
    950: '#000000',
  },
}
SCSS
$custom: #321765;
$custom-light: #705792;
$custom-dark: #000000;
JSON
{
  "hex": "#321765",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 260.769,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29607,
    "c": 0.1274,
    "h": 292.7
  },
  "luminance": 0.0223
}

Semantic roles & 50–950 ramp

primary
#321765
secondary
#7B9B3C
accent
#E642AD
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321765

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

Preview Lab → · Contrast checker → · Palette generator →

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