#321675#321675

#321675 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.148 H 287.8°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#321675
RGBrgb(50, 22, 117)
HSLhsl(258, 68%, 27%)
HSVhsv(258, 81%, 46%)
CMYKcmyk(57.3%, 81.2%, 0%, 54.1%)
CIE-LABlab(18.08, 38.07, -49.07)
CIE-LCHlch(18.08, 62.10, 307.81°)
OKLaboklab(31.1% 0.0454 -0.1412)
OKLCHoklch(31.1% 0.148 287.8)
XYZxyz(4.8122, 2.5360, 17.0621)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321675 #597516
analogous
#162A75 #321675 #611675
triadic
#321675 #753216 #167532
tetradic
#321675 #75162A #597516 #167561
square
#321675 #75162A #597516 #167561
split-complementary
#321675 #756116 #2A7516
monochromatic
#0B051A #1C0C41 #321675 #4820A9 #602ED8

Accessibility & contrast

On white

13.93
#321675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#321675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321675
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321675#FFFFFF#000000##FFFFFF
##3216751.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002A73
Tritanopia (blue-blind)
#153145
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #321675;
/* rgb */ color: rgb(50, 22, 117);
/* oklch */ color: oklch(31.1% 0.148 287.8);
Tailwind
colors: {
  custom: {
    50: '#73579e',
    500: '#321675',
    950: '#000000',
  },
}
SCSS
$custom: #321675;
$custom-light: #73579e;
$custom-dark: #000000;
JSON
{
  "hex": "#321675",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 257.684,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31101,
    "c": 0.1483,
    "h": 287.8
  },
  "luminance": 0.02536
}

Semantic roles & 50–950 ramp

primary
#321675
secondary
#8AAB3C
accent
#EB3DB8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #321675

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

Preview Lab → · Contrast checker → · Palette generator →

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