#351175#351175

#351175 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.9% C 0.153 H 290.7°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#351175
RGBrgb(53, 17, 117)
HSLhsl(262, 75%, 26%)
HSVhsv(262, 85%, 46%)
CMYKcmyk(54.7%, 85.5%, 0%, 54.1%)
CIE-LABlab(17.65, 40.76, -49.76)
CIE-LCHlch(17.65, 64.32, 309.32°)
OKLaboklab(30.89% 0.0539 -0.143)
OKLCHoklch(30.89% 0.153 290.7)
XYZxyz(4.8786, 2.4419, 17.0405)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351175 #517511
analogous
#111F75 #351175 #671175
triadic
#351175 #753511 #117535
tetradic
#351175 #75111F #517511 #117567
square
#351175 #75111F #517511 #117567
split-complementary
#351175 #756711 #1F7511
monochromatic
#0C041B #1D0940 #351175 #4D19AA #6622DF

Accessibility & contrast

On white

14.11
#351175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#351175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351175
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351175#FFFFFF#000000##FFFFFF
##3511751.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#1D2F44
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351175;
/* rgb */ color: rgb(53, 17, 117);
/* oklch */ color: oklch(30.9% 0.153 290.7);
Tailwind
colors: {
  custom: {
    50: '#75559e',
    500: '#351175',
    950: '#000000',
  },
}
SCSS
$custom: #351175;
$custom-light: #75559e;
$custom-dark: #000000;
JSON
{
  "hex": "#351175",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 261.6,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30888,
    "c": 0.15288,
    "h": 290.7
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#351175
secondary
#81AC36
accent
#F137AE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351175

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

Preview Lab → · Contrast checker → · Palette generator →

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