#351F62#351F62

#351F62 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.9% C 0.113 H 293.9°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#351F62
RGBrgb(53, 31, 98)
HSLhsl(260, 52%, 25%)
HSVhsv(260, 68%, 38%)
CMYKcmyk(45.9%, 68.4%, 0%, 61.6%)
CIE-LABlab(18.45, 27.76, -36.07)
CIE-LCHlch(18.45, 45.51, 307.58°)
OKLaboklab(30.89% 0.0456 -0.103)
OKLCHoklch(30.89% 0.113 293.9)
XYZxyz(4.1622, 2.6186, 11.8390)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351F62 #4C621F
analogous
#1F2B62 #351F62 #561F62
triadic
#351F62 #62351F #1F6235
tetradic
#351F62 #621F2B #4C621F #1F6256
square
#351F62 #621F2B #4C621F #1F6256
split-complementary
#351F62 #62561F #2B621F
monochromatic
#0D0717 #1C1034 #351F62 #4E2E90 #673CBF

Accessibility & contrast

On white

13.78
#351F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351F62
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351F62#FFFFFF#000000##FFFFFF
##351F621.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E64
Deuteranopia (green-blind)
#002C61
Tritanopia (blue-blind)
#292F3D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351f62;
/* rgb */ color: rgb(53, 31, 98);
/* oklch */ color: oklch(30.9% 0.113 293.9);
Tailwind
colors: {
  custom: {
    50: '#715c8f',
    500: '#351f62',
    950: '#000000',
  },
}
SCSS
$custom: #351f62;
$custom-light: #715c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#351f62",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 259.701,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30892,
    "c": 0.11265,
    "h": 293.9
  },
  "luminance": 0.02619
}

Semantic roles & 50–950 ramp

primary
#351F62
secondary
#7C9746
accent
#DB4CAC
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #351F62

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

Preview Lab → · Contrast checker → · Palette generator →

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