#351866#351866

#351866 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.128 H 294.5°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#351866
RGBrgb(53, 24, 102)
HSLhsl(262, 62%, 25%)
HSVhsv(262, 76%, 40%)
CMYKcmyk(48%, 76.5%, 0%, 60%)
CIE-LABlab(17.32, 33.06, -40.54)
CIE-LCHlch(17.32, 52.31, 309.19°)
OKLaboklab(30.19% 0.0528 -0.1161)
OKLCHoklch(30.19% 0.128 294.5)
XYZxyz(4.1925, 2.3693, 12.8042)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351866 #496618
analogous
#182266 #351866 #5C1866
triadic
#351866 #663518 #186635
tetradic
#351866 #661822 #496618 #18665C
square
#351866 #661822 #496618 #18665C
split-complementary
#351866 #665C18 #226618
monochromatic
#0D0619 #1B0C34 #351866 #4F2498 #682FC9

Accessibility & contrast

On white

14.25
#351866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#351866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351866
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351866#FFFFFF#000000##FFFFFF
##3518661.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#272C3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351866;
/* rgb */ color: rgb(53, 24, 102);
/* oklch */ color: oklch(30.2% 0.128 294.5);
Tailwind
colors: {
  custom: {
    50: '#725892',
    500: '#351866',
    950: '#000000',
  },
}
SCSS
$custom: #351866;
$custom-light: #725892;
$custom-dark: #000000;
JSON
{
  "hex": "#351866",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 102
  },
  "hsl": {
    "h": 262.308,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30193,
    "c": 0.12756,
    "h": 294.5
  },
  "luminance": 0.02369
}

Semantic roles & 50–950 ramp

primary
#351866
secondary
#799C3E
accent
#E543A9
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351866

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

Preview Lab → · Contrast checker → · Palette generator →

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