#351775#351775

#351775 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.147 H 289.7°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#351775
RGBrgb(53, 23, 117)
HSLhsl(259, 67%, 27%)
HSVhsv(259, 80%, 46%)
CMYKcmyk(54.7%, 80.3%, 0%, 54.1%)
CIE-LABlab(18.60, 38.01, -48.20)
CIE-LCHlch(18.60, 61.39, 308.26°)
OKLaboklab(31.55% 0.0495 -0.1386)
OKLCHoklch(31.55% 0.147 289.7)
XYZxyz(4.9845, 2.6538, 17.0758)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351775 #577517
analogous
#172875 #351775 #641775
triadic
#351775 #753517 #177535
tetradic
#351775 #751728 #577517 #177564
square
#351775 #751728 #577517 #177564
split-complementary
#351775 #756417 #287517
monochromatic
#0C051A #1E0D42 #351775 #4C21A8 #6530D6

Accessibility & contrast

On white

13.72
#351775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#351775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351775
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351775#FFFFFF#000000##FFFFFF
##3517751.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351775;
/* rgb */ color: rgb(53, 23, 117);
/* oklch */ color: oklch(31.5% 0.147 289.7);
Tailwind
colors: {
  custom: {
    50: '#74589e',
    500: '#351775',
    950: '#000000',
  },
}
SCSS
$custom: #351775;
$custom-light: #74589e;
$custom-dark: #000000;
JSON
{
  "hex": "#351775",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 259.149,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31545,
    "c": 0.14715,
    "h": 289.7
  },
  "luminance": 0.02654
}

Semantic roles & 50–950 ramp

primary
#351775
secondary
#88AA3D
accent
#EA3EB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351775

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

Preview Lab → · Contrast checker → · Palette generator →

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