#351672#351672

#351672 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.145 H 290.8°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#351672
RGBrgb(53, 22, 114)
HSLhsl(260, 68%, 27%)
HSVhsv(260, 81%, 45%)
CMYKcmyk(53.5%, 80.7%, 0%, 55.3%)
CIE-LABlab(18.12, 37.63, -47.05)
CIE-LCHlch(18.12, 60.24, 308.65°)
OKLaboklab(31.12% 0.0513 -0.1352)
OKLCHoklch(31.12% 0.145 290.8)
XYZxyz(4.7915, 2.5454, 16.1552)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351672 #537216
analogous
#162572 #351672 #631672
triadic
#351672 #723516 #167235
tetradic
#351672 #721625 #537216 #167263
square
#351672 #721625 #537216 #167263
split-complementary
#351672 #726316 #257216
monochromatic
#0C051A #1D0C3F #351672 #4D20A5 #652CD6

Accessibility & contrast

On white

13.91
#351672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351672
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351672#FFFFFF#000000##FFFFFF
##3516721.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#1F3043
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351672;
/* rgb */ color: rgb(53, 22, 114);
/* oklch */ color: oklch(31.1% 0.145 290.8);
Tailwind
colors: {
  custom: {
    50: '#74579b',
    500: '#351672',
    950: '#000000',
  },
}
SCSS
$custom: #351672;
$custom-light: #74579b;
$custom-dark: #000000;
JSON
{
  "hex": "#351672",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 260.217,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31118,
    "c": 0.14459,
    "h": 290.8
  },
  "luminance": 0.02546
}

Semantic roles & 50–950 ramp

primary
#351672
secondary
#83A83C
accent
#EB3DB0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351672

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

Preview Lab → · Contrast checker → · Palette generator →

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