#322260#322260

#322260 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 30.9% C 0.105 H 290.8°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#322260
RGBrgb(50, 34, 96)
HSLhsl(255, 48%, 25%)
HSVhsv(255, 65%, 38%)
CMYKcmyk(47.9%, 64.6%, 0%, 62.4%)
CIE-LABlab(18.66, 24.51, -34.42)
CIE-LCHlch(18.66, 42.26, 305.45°)
OKLaboklab(30.91% 0.0374 -0.0983)
OKLCHoklch(30.91% 0.105 290.8)
XYZxyz(3.9982, 2.6666, 11.3681)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322260 #506022
analogous
#223160 #322260 #512260
triadic
#322260 #603222 #226032
tetradic
#322260 #602231 #506022 #226051
square
#322260 #602231 #506022 #226051
split-complementary
#322260 #605122 #316022
monochromatic
#0C0817 #1A1233 #322260 #4A328D #6142BA

Accessibility & contrast

On white

13.70
#322260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#322260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322260
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322260#FFFFFF#000000##FFFFFF
##3222601.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#002C5F
Tritanopia (blue-blind)
#24303D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #322260;
/* rgb */ color: rgb(50, 34, 96);
/* oklch */ color: oklch(30.9% 0.105 290.8);
Tailwind
colors: {
  custom: {
    50: '#6e5e8e',
    500: '#322260',
    950: '#000000',
  },
}
SCSS
$custom: #322260;
$custom-light: #6e5e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#322260",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 96
  },
  "hsl": {
    "h": 255.484,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30912,
    "c": 0.10516,
    "h": 290.8
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#322260
secondary
#81944A
accent
#D751B5
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #322260

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

Preview Lab → · Contrast checker → · Palette generator →

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