#351675#351675

#351675 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.148 H 289.9°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#351675
RGBrgb(53, 22, 117)
HSLhsl(260, 68%, 27%)
HSVhsv(260, 81%, 46%)
CMYKcmyk(54.7%, 81.2%, 0%, 54.1%)
CIE-LABlab(18.43, 38.51, -48.48)
CIE-LCHlch(18.43, 61.91, 308.46°)
OKLaboklab(31.43% 0.0503 -0.1394)
OKLCHoklch(31.43% 0.148 289.9)
XYZxyz(4.9651, 2.6148, 17.0693)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351675 #567516
analogous
#162775 #351675 #651675
triadic
#351675 #753516 #167535
tetradic
#351675 #751627 #567516 #167565
square
#351675 #751627 #567516 #167565
split-complementary
#351675 #756516 #277516
monochromatic
#0C051A #1E0C41 #351675 #4C20A9 #652ED8

Accessibility & contrast

On white

13.79
#351675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#351675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351675
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351675#FFFFFF#000000##FFFFFF
##3516751.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#1D3145
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351675;
/* rgb */ color: rgb(53, 22, 117);
/* oklch */ color: oklch(31.4% 0.148 289.9);
Tailwind
colors: {
  custom: {
    50: '#74579e',
    500: '#351675',
    950: '#000000',
  },
}
SCSS
$custom: #351675;
$custom-light: #74579e;
$custom-dark: #000000;
JSON
{
  "hex": "#351675",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 259.579,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31426,
    "c": 0.14818,
    "h": 289.9
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#351675
secondary
#87AB3C
accent
#EB3DB2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351675

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

Preview Lab → · Contrast checker → · Palette generator →

#351675 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva