#351875#351875

#351875 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.146 H 289.5°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#351875
RGBrgb(53, 24, 117)
HSLhsl(259, 66%, 28%)
HSVhsv(259, 79%, 46%)
CMYKcmyk(54.7%, 79.5%, 0%, 54.1%)
CIE-LABlab(18.78, 37.51, -47.91)
CIE-LCHlch(18.78, 60.85, 308.06°)
OKLaboklab(31.67% 0.0487 -0.1377)
OKLCHoklch(31.67% 0.146 289.5)
XYZxyz(5.0048, 2.6943, 17.0825)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351875 #587518
analogous
#182975 #351875 #641875
triadic
#351875 #753518 #187535
tetradic
#351875 #751829 #587518 #187564
square
#351875 #751829 #587518 #187564
split-complementary
#351875 #756418 #297518
monochromatic
#0C0519 #1E0E42 #351875 #4C22A8 #6532D5

Accessibility & contrast

On white

13.65
#351875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#351875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351875
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351875#FFFFFF#000000##FFFFFF
##3518751.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351875;
/* rgb */ color: rgb(53, 24, 117);
/* oklch */ color: oklch(31.7% 0.146 289.5);
Tailwind
colors: {
  custom: {
    50: '#74599e',
    500: '#351875',
    950: '#000000',
  },
}
SCSS
$custom: #351875;
$custom-light: #74599e;
$custom-dark: #000000;
JSON
{
  "hex": "#351875",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 258.71,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31667,
    "c": 0.1461,
    "h": 289.5
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#351875
secondary
#89AA3F
accent
#E93FB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351875

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

Preview Lab → · Contrast checker → · Palette generator →

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