#351968#351968

#351968 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.5% C 0.129 H 293.5°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#351968
RGBrgb(53, 25, 104)
HSLhsl(261, 61%, 25%)
HSVhsv(261, 76%, 41%)
CMYKcmyk(49%, 76%, 0%, 59.2%)
CIE-LABlab(17.70, 33.10, -41.23)
CIE-LCHlch(17.70, 52.88, 308.76°)
OKLaboklab(30.52% 0.0513 -0.1182)
OKLCHoklch(30.52% 0.129 293.5)
XYZxyz(4.3138, 2.4515, 13.3399)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351968 #4C6819
analogous
#192468 #351968 #5C1968
triadic
#351968 #683519 #196835
tetradic
#351968 #681924 #4C6819 #19685C
square
#351968 #681924 #4C6819 #19685C
split-complementary
#351968 #685C19 #246819
monochromatic
#0D0619 #1C0D37 #351968 #4E2599 #6731CB

Accessibility & contrast

On white

14.09
#351968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351968
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351968#FFFFFF#000000##FFFFFF
##3519681.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#262D3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351968;
/* rgb */ color: rgb(53, 25, 104);
/* oklch */ color: oklch(30.5% 0.129 293.5);
Tailwind
colors: {
  custom: {
    50: '#725894',
    500: '#351968',
    950: '#000000',
  },
}
SCSS
$custom: #351968;
$custom-light: #725894;
$custom-dark: #000000;
JSON
{
  "hex": "#351968",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 261.266,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3052,
    "c": 0.12882,
    "h": 293.5
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#351968
secondary
#7C9E3F
accent
#E443AB
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351968

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

Preview Lab → · Contrast checker → · Palette generator →

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