#351A7A#351A7A

#351A7A is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.150 H 287.7°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#351A7A
RGBrgb(53, 26, 122)
HSLhsl(257, 65%, 29%)
HSVhsv(257, 79%, 48%)
CMYKcmyk(56.6%, 78.7%, 0%, 52.2%)
CIE-LABlab(19.64, 37.99, -49.69)
CIE-LCHlch(19.64, 62.55, 307.40°)
OKLaboklab(32.43% 0.0456 -0.143)
OKLCHoklch(32.43% 0.15 287.7)
XYZxyz(5.3494, 2.9005, 18.6866)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A7A #5F7A1A
analogous
#1A2F7A #351A7A #651A7A
triadic
#351A7A #7A351A #1A7A35
tetradic
#351A7A #7A1A2F #5F7A1A #1A7A65
square
#351A7A #7A1A2F #5F7A1A #1A7A65
split-complementary
#351A7A #7A651A #2F7A1A
monochromatic
#0B0519 #1F0F48 #351A7A #4B25AC #6539D5

Accessibility & contrast

On white

13.29
#351A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#351A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A7A
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A7A#FFFFFF#000000##FFFFFF
##351A7A1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#183549
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351a7a;
/* rgb */ color: rgb(53, 26, 122);
/* oklch */ color: oklch(32.4% 0.150 287.7);
Tailwind
colors: {
  custom: {
    50: '#755aa1',
    500: '#351a7a',
    950: '#000000',
  },
}
SCSS
$custom: #351a7a;
$custom-light: #755aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#351a7a",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 256.875,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32427,
    "c": 0.15008,
    "h": 287.7
  },
  "luminance": 0.02901
}

Semantic roles & 50–950 ramp

primary
#351A7A
secondary
#90AE41
accent
#E840B9
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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