#351975#351975

#351975 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.145 H 289.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#351975
RGBrgb(53, 25, 117)
HSLhsl(258, 65%, 28%)
HSVhsv(258, 79%, 46%)
CMYKcmyk(54.7%, 78.6%, 0%, 54.1%)
CIE-LABlab(18.96, 37.00, -47.62)
CIE-LCHlch(18.96, 60.30, 307.85°)
OKLaboklab(31.79% 0.0479 -0.1369)
OKLCHoklch(31.79% 0.145 289.3)
XYZxyz(5.0258, 2.7363, 17.0895)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351975 #597519
analogous
#192B75 #351975 #631975
triadic
#351975 #753519 #197535
tetradic
#351975 #75192B #597519 #197563
square
#351975 #75192B #597519 #197563
split-complementary
#351975 #756319 #2B7519
monochromatic
#0B0519 #1E0E43 #351975 #4C24A7 #6535D4

Accessibility & contrast

On white

13.57
#351975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#351975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351975
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351975#FFFFFF#000000##FFFFFF
##3519751.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#1D3346
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351975;
/* rgb */ color: rgb(53, 25, 117);
/* oklch */ color: oklch(31.8% 0.145 289.3);
Tailwind
colors: {
  custom: {
    50: '#74599e',
    500: '#351975',
    950: '#000000',
  },
}
SCSS
$custom: #351975;
$custom-light: #74599e;
$custom-dark: #000000;
JSON
{
  "hex": "#351975",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 258.261,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31793,
    "c": 0.14502,
    "h": 289.3
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#351975
secondary
#8AAA40
accent
#E840B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351975

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

Preview Lab → · Contrast checker → · Palette generator →

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