#35196D#35196D

#35196D is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.135 H 291.8°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#35196D
RGBrgb(53, 25, 109)
HSLhsl(260, 63%, 26%)
HSVhsv(260, 77%, 43%)
CMYKcmyk(51.4%, 77.1%, 0%, 57.3%)
CIE-LABlab(18.17, 34.60, -43.73)
CIE-LCHlch(18.17, 55.76, 308.35°)
OKLaboklab(31% 0.0501 -0.1255)
OKLCHoklch(31% 0.135 291.8)
XYZxyz(4.5754, 2.5561, 14.7173)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35196D #516D19
analogous
#19276D #35196D #5F196D
triadic
#35196D #6D3519 #196D35
tetradic
#35196D #6D1927 #516D19 #196D5F
square
#35196D #6D1927 #516D19 #196D5F
split-complementary
#35196D #6D5F19 #276D19
monochromatic
#0C0619 #1D0E3B #35196D #4D249F #6631D0

Accessibility & contrast

On white

13.90
#35196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#35196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35196D
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35196D#FFFFFF#000000##FFFFFF
##35196D1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6F
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#232F41
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #35196d;
/* rgb */ color: rgb(53, 25, 109);
/* oklch */ color: oklch(31.0% 0.135 291.8);
Tailwind
colors: {
  custom: {
    50: '#735998',
    500: '#35196d',
    950: '#000000',
  },
}
SCSS
$custom: #35196d;
$custom-light: #735998;
$custom-dark: #000000;
JSON
{
  "hex": "#35196d",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 260,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31001,
    "c": 0.1351,
    "h": 291.8
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#35196D
secondary
#81A23F
accent
#E642AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #35196D

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

Preview Lab → · Contrast checker → · Palette generator →

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