#351652#351652

#351652 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.105 H 304.1°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#351652
RGBrgb(53, 22, 82)
HSLhsl(271, 58%, 20%)
HSVhsv(271, 73%, 32%)
CMYKcmyk(35.4%, 73.2%, 0%, 67.8%)
CIE-LABlab(15.17, 28.40, -30.66)
CIE-LCHlch(15.17, 41.79, 312.81°)
OKLaboklab(28.12% 0.0589 -0.0871)
OKLCHoklch(28.12% 0.105 304.1)
XYZxyz(3.2778, 1.9399, 8.1828)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351652 #335216
analogous
#171652 #351652 #521651
triadic
#351652 #523516 #165235
tetradic
#351652 #521716 #335216 #165152
square
#351652 #521716 #335216 #165152
split-complementary
#351652 #515216 #165217
monochromatic
#100618 #160922 #351652 #542382 #7330B3

Accessibility & contrast

On white

15.13
#351652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#351652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351652
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351652#FFFFFF#000000##FFFFFF
##3516521.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002554
Deuteranopia (green-blind)
#022651
Tritanopia (blue-blind)
#302332
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #351652;
/* rgb */ color: rgb(53, 22, 82);
/* oklch */ color: oklch(28.1% 0.105 304.1);
Tailwind
colors: {
  custom: {
    50: '#6f5683',
    500: '#351652',
    950: '#000000',
  },
}
SCSS
$custom: #351652;
$custom-light: #6f5683;
$custom-dark: #000000;
JSON
{
  "hex": "#351652",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 271,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28115,
    "c": 0.10512,
    "h": 304.1
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

primary
#351652
secondary
#61893A
accent
#E14791
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #351652

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

Preview Lab → · Contrast checker → · Palette generator →

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