#351A62#351A62

#351A62 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.1% C 0.120 H 295.5°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#351A62
RGBrgb(53, 26, 98)
HSLhsl(263, 58%, 24%)
HSVhsv(263, 73%, 38%)
CMYKcmyk(45.9%, 73.5%, 0%, 61.6%)
CIE-LABlab(17.35, 30.75, -37.84)
CIE-LCHlch(17.35, 48.76, 309.09°)
OKLaboklab(30.11% 0.0515 -0.1082)
OKLCHoklch(30.11% 0.12 295.5)
XYZxyz(4.0416, 2.3774, 11.7989)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A62 #47621A
analogous
#1A2362 #351A62 #591A62
triadic
#351A62 #62351A #1A6235
tetradic
#351A62 #621A23 #47621A #1A6259
square
#351A62 #621A23 #47621A #1A6259
split-complementary
#351A62 #62591A #23621A
monochromatic
#0D0618 #1B0D32 #351A62 #4F2792 #6934C3

Accessibility & contrast

On white

14.23
#351A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#351A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A62
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A62#FFFFFF#000000##FFFFFF
##351A621.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#292C3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351a62;
/* rgb */ color: rgb(53, 26, 98);
/* oklch */ color: oklch(30.1% 0.120 295.5);
Tailwind
colors: {
  custom: {
    50: '#71598f',
    500: '#351a62',
    950: '#000000',
  },
}
SCSS
$custom: #351a62;
$custom-light: #71598f;
$custom-dark: #000000;
JSON
{
  "hex": "#351a62",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 98
  },
  "hsl": {
    "h": 262.5,
    "s": 58.065,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30107,
    "c": 0.11983,
    "h": 295.5
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#351A62
secondary
#779840
accent
#E147A7
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351A62

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

Preview Lab → · Contrast checker → · Palette generator →

#351A62 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva