#35196F#35196F

#35196F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.138 H 291.1°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#35196F
RGBrgb(53, 25, 111)
HSLhsl(260, 63%, 27%)
HSVhsv(260, 77%, 44%)
CMYKcmyk(52.3%, 77.5%, 0%, 56.5%)
CIE-LABlab(18.36, 35.20, -44.71)
CIE-LCHlch(18.36, 56.90, 308.21°)
OKLaboklab(31.2% 0.0496 -0.1284)
OKLCHoklch(31.2% 0.138 291.1)
XYZxyz(4.6843, 2.5997, 15.2908)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35196F #536F19
analogous
#19286F #35196F #60196F
triadic
#35196F #6F3519 #196F35
tetradic
#35196F #6F1928 #536F19 #196F60
square
#35196F #6F1928 #536F19 #196F60
split-complementary
#35196F #6F6019 #286F19
monochromatic
#0C0619 #1D0E3D #35196F #4D24A1 #6532D1

Accessibility & contrast

On white

13.82
#35196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#35196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35196F
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35196F#FFFFFF#000000##FFFFFF
##35196F1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#213042
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #35196f;
/* rgb */ color: rgb(53, 25, 111);
/* oklch */ color: oklch(31.2% 0.138 291.1);
Tailwind
colors: {
  custom: {
    50: '#735999',
    500: '#35196f',
    950: '#000000',
  },
}
SCSS
$custom: #35196f;
$custom-light: #735999;
$custom-dark: #000000;
JSON
{
  "hex": "#35196f",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 259.535,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31196,
    "c": 0.1376,
    "h": 291.1
  },
  "luminance": 0.026
}

Semantic roles & 50–950 ramp

primary
#35196F
secondary
#83A43F
accent
#E642B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #35196F

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

Preview Lab → · Contrast checker → · Palette generator →

#35196F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva