#321064#321064

#321064 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.134 H 294.6°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#321064
RGBrgb(50, 16, 100)
HSLhsl(264, 72%, 23%)
HSVhsv(264, 84%, 39%)
CMYKcmyk(50%, 84%, 0%, 60.8%)
CIE-LABlab(15.32, 35.96, -42.50)
CIE-LCHlch(15.32, 55.68, 310.24°)
OKLaboklab(28.64% 0.0558 -0.1219)
OKLCHoklch(28.64% 0.134 294.6)
XYZxyz(3.8003, 1.9687, 12.2339)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321064 #426410
analogous
#101864 #321064 #5C1064
triadic
#321064 #643210 #106432
tetradic
#321064 #641018 #426410 #10645C
square
#321064 #641018 #426410 #10645C
split-complementary
#321064 #645C10 #186410
monochromatic
#0D041A #18082F #321064 #4C1899 #6721CE

Accessibility & contrast

On white

15.07
#321064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#321064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321064
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321064#FFFFFF#000000##FFFFFF
##3210641.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002766
Deuteranopia (green-blind)
#002562
Tritanopia (blue-blind)
#23283A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #321064;
/* rgb */ color: rgb(50, 16, 100);
/* oklch */ color: oklch(28.6% 0.134 294.6);
Tailwind
colors: {
  custom: {
    50: '#705391',
    500: '#321064',
    950: '#000000',
  },
}
SCSS
$custom: #321064;
$custom-light: #705391;
$custom-dark: #000000;
JSON
{
  "hex": "#321064",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 264.286,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28644,
    "c": 0.13409,
    "h": 294.6
  },
  "luminance": 0.01969
}

Semantic roles & 50–950 ramp

primary
#321064
secondary
#729D33
accent
#EF39A5
background
#F7F4F9
surface
#EDE7F1
border
#C8C3CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321064

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

Preview Lab → · Contrast checker → · Palette generator →

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