#322258#322258

#322258 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.3% C 0.093 H 293.7°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#322258
RGBrgb(50, 34, 88)
HSLhsl(258, 44%, 24%)
HSVhsv(258, 61%, 35%)
CMYKcmyk(43.2%, 61.4%, 0%, 65.5%)
CIE-LABlab(18.04, 21.95, -30.10)
CIE-LCHlch(18.04, 37.25, 306.10°)
OKLaboklab(30.26% 0.0376 -0.0856)
OKLCHoklch(30.26% 0.093 293.7)
XYZxyz(3.6484, 2.5267, 9.5261)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322258 #485822
analogous
#222D58 #322258 #4D2258
triadic
#322258 #583222 #225832
tetradic
#322258 #58222D #485822 #22584D
square
#322258 #58222D #485822 #22584D
split-complementary
#322258 #584D22 #2D5822
monochromatic
#0D0916 #19112C #322258 #4B3384 #6444B0

Accessibility & contrast

On white

13.95
#322258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322258
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322258#FFFFFF#000000##FFFFFF
##3222581.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062D5A
Deuteranopia (green-blind)
#0B2B57
Tritanopia (blue-blind)
#282E39
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #322258;
/* rgb */ color: rgb(50, 34, 88);
/* oklch */ color: oklch(30.3% 0.093 293.7);
Tailwind
colors: {
  custom: {
    50: '#6d5d87',
    500: '#322258',
    950: '#000000',
  },
}
SCSS
$custom: #322258;
$custom-light: #6d5d87;
$custom-dark: #000000;
JSON
{
  "hex": "#322258",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 257.778,
    "s": 44.262,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30263,
    "c": 0.09346,
    "h": 293.7
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#322258
secondary
#788C4A
accent
#D454AE
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040B
muted
#7A797C

Preview Lab

Preview with #322258

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

Preview Lab → · Contrast checker → · Palette generator →

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