#352293#352293

#352293 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.173 H 281.0°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#352293
RGBrgb(53, 34, 147)
HSLhsl(250, 62%, 35%)
HSVhsv(250, 77%, 58%)
CMYKcmyk(63.9%, 76.9%, 0%, 42.4%)
CIE-LABlab(23.69, 41.49, -58.72)
CIE-LCHlch(23.69, 71.90, 305.24°)
OKLaboklab(36.05% 0.0329 -0.1694)
OKLCHoklch(36.05% 0.173 281)
XYZxyz(7.3050, 4.0070, 27.9866)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352293 #809322
analogous
#224893 #352293 #6D2293
triadic
#352293 #933522 #229335
tetradic
#352293 #932248 #809322 #22936D
square
#352293 #932248 #809322 #22936D
split-complementary
#352293 #936D22 #489322
monochromatic
#110B30 #231761 #352293 #472DC5 #6D57D8

Accessibility & contrast

On white

11.66
#352293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#352293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352293
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352293#FFFFFF#000000##FFFFFF
##3522931.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #352293;
/* rgb */ color: rgb(53, 34, 147);
/* oklch */ color: oklch(36.0% 0.173 281.0);
Tailwind
colors: {
  custom: {
    50: '#7960b4',
    500: '#352293',
    950: '#000000',
  },
}
SCSS
$custom: #352293;
$custom-light: #7960b4;
$custom-dark: #000000;
JSON
{
  "hex": "#352293",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 250.088,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36049,
    "c": 0.1726,
    "h": 281
  },
  "luminance": 0.04008
}

Semantic roles & 50–950 ramp

primary
#352293
secondary
#ABBC55
accent
#E542CA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #352293

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

Preview Lab → · Contrast checker → · Palette generator →

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