#321865#321865

#321865 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.7% C 0.126 H 292.4°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#321865
RGBrgb(50, 24, 101)
HSLhsl(260, 62%, 25%)
HSVhsv(260, 76%, 40%)
CMYKcmyk(50.5%, 76.2%, 0%, 60.4%)
CIE-LABlab(16.85, 32.19, -40.66)
CIE-LCHlch(16.85, 51.86, 308.36°)
OKLaboklab(29.75% 0.0482 -0.1166)
OKLCHoklch(29.75% 0.126 292.4)
XYZxyz(3.9903, 2.2708, 12.5375)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321865 #4B6518
analogous
#182465 #321865 #591865
triadic
#321865 #653218 #186532
tetradic
#321865 #651824 #4B6518 #186559
square
#321865 #651824 #4B6518 #186559
split-complementary
#321865 #655918 #246518
monochromatic
#0C0619 #1A0C34 #321865 #4A2496 #6330C8

Accessibility & contrast

On white

14.44
#321865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321865
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321865#FFFFFF#000000##FFFFFF
##3218651.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#222C3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #321865;
/* rgb */ color: rgb(50, 24, 101);
/* oklch */ color: oklch(29.7% 0.126 292.4);
Tailwind
colors: {
  custom: {
    50: '#705792',
    500: '#321865',
    950: '#000000',
  },
}
SCSS
$custom: #321865;
$custom-light: #705792;
$custom-dark: #000000;
JSON
{
  "hex": "#321865",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 260.26,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29746,
    "c": 0.12616,
    "h": 292.4
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#321865
secondary
#7C9B3E
accent
#E543AE
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321865

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

Preview Lab → · Contrast checker → · Palette generator →

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