#352091#352091

#352091 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.172 H 281.7°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#352091
RGBrgb(53, 32, 145)
HSLhsl(251, 64%, 35%)
HSVhsv(251, 78%, 57%)
CMYKcmyk(63.4%, 77.9%, 0%, 43.1%)
CIE-LABlab(23.11, 41.92, -58.44)
CIE-LCHlch(23.11, 71.92, 305.65°)
OKLaboklab(35.58% 0.0348 -0.1686)
OKLCHoklch(35.58% 0.172 281.7)
XYZxyz(7.0939, 3.8337, 27.1487)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352091 #7C9120
analogous
#204491 #352091 #6D2091
triadic
#352091 #913520 #209135
tetradic
#352091 #912044 #7C9120 #20916D
square
#352091 #912044 #7C9120 #20916D
split-complementary
#352091 #916D20 #449120
monochromatic
#100A2D #23155F #352091 #472BC3 #6B52D9

Accessibility & contrast

On white

11.89
#352091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#352091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352091
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352091#FFFFFF#000000##FFFFFF
##3520911.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00338F
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #352091;
/* rgb */ color: rgb(53, 32, 145);
/* oklch */ color: oklch(35.6% 0.172 281.7);
Tailwind
colors: {
  custom: {
    50: '#795fb2',
    500: '#352091',
    950: '#000000',
  },
}
SCSS
$custom: #352091;
$custom-light: #795fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#352091",
  "rgb": {
    "r": 53,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 251.15,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35579,
    "c": 0.17214,
    "h": 281.7
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

primary
#352091
secondary
#A8BC51
accent
#E741C8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #352091

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

Preview Lab → · Contrast checker → · Palette generator →

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