#351A6C#351A6C

#351A6C is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.133 H 291.9°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#351A6C
RGBrgb(53, 26, 108)
HSLhsl(260, 61%, 26%)
HSVhsv(260, 76%, 42%)
CMYKcmyk(50.9%, 75.9%, 0%, 57.6%)
CIE-LABlab(18.27, 33.75, -42.91)
CIE-LCHlch(18.27, 54.60, 308.19°)
OKLaboklab(31.04% 0.0494 -0.1231)
OKLCHoklch(31.04% 0.133 291.9)
XYZxyz(4.5436, 2.5782, 14.4427)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A6C #516C1A
analogous
#1A286C #351A6C #5E1A6C
triadic
#351A6C #6C351A #1A6C35
tetradic
#351A6C #6C1A28 #516C1A #1A6C5E
square
#351A6C #6C1A28 #516C1A #1A6C5E
split-complementary
#351A6C #6C5E1A #286C1A
monochromatic
#0C0619 #1D0E3B #351A6C #4D269D #6633CE

Accessibility & contrast

On white

13.86
#351A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#351A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A6C
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A6C#FFFFFF#000000##FFFFFF
##351A6C1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#002B6A
Tritanopia (blue-blind)
#232F41
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351a6c;
/* rgb */ color: rgb(53, 26, 108);
/* oklch */ color: oklch(31.0% 0.133 291.9);
Tailwind
colors: {
  custom: {
    50: '#725997',
    500: '#351a6c',
    950: '#000000',
  },
}
SCSS
$custom: #351a6c;
$custom-light: #725997;
$custom-dark: #000000;
JSON
{
  "hex": "#351a6c",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 108
  },
  "hsl": {
    "h": 259.756,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31041,
    "c": 0.13263,
    "h": 291.9
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#351A6C
secondary
#81A141
accent
#E443AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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