#351A63#351A63

#351A63 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.121 H 295.1°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#351A63
RGBrgb(53, 26, 99)
HSLhsl(262, 58%, 25%)
HSVhsv(262, 74%, 39%)
CMYKcmyk(46.5%, 73.7%, 0%, 61.2%)
CIE-LABlab(17.44, 31.05, -38.36)
CIE-LCHlch(17.44, 49.35, 308.99°)
OKLaboklab(30.2% 0.0513 -0.1097)
OKLCHoklch(30.2% 0.121 295.1)
XYZxyz(4.0891, 2.3964, 12.0491)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A63 #48631A
analogous
#1A2463 #351A63 #5A1A63
triadic
#351A63 #63351A #1A6335
tetradic
#351A63 #631A24 #48631A #1A635A
square
#351A63 #631A24 #48631A #1A635A
split-complementary
#351A63 #635A1A #24631A
monochromatic
#0D0618 #1B0D33 #351A63 #4F2793 #6933C4

Accessibility & contrast

On white

14.19
#351A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351A63
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A63#FFFFFF#000000##FFFFFF
##351A631.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#282C3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351a63;
/* rgb */ color: rgb(53, 26, 99);
/* oklch */ color: oklch(30.2% 0.121 295.1);
Tailwind
colors: {
  custom: {
    50: '#715990',
    500: '#351a63',
    950: '#000000',
  },
}
SCSS
$custom: #351a63;
$custom-light: #715990;
$custom-dark: #000000;
JSON
{
  "hex": "#351a63",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 262.192,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30198,
    "c": 0.12112,
    "h": 295.1
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#351A63
secondary
#789940
accent
#E246A8
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351A63

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

Preview Lab → · Contrast checker → · Palette generator →

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