#35195F#35195F

#35195F is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.7% C 0.117 H 297.0°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#35195F
RGBrgb(53, 25, 95)
HSLhsl(264, 58%, 24%)
HSVhsv(264, 74%, 37%)
CMYKcmyk(44.2%, 73.7%, 0%, 62.7%)
CIE-LABlab(16.88, 30.43, -36.62)
CIE-LCHlch(16.88, 47.61, 309.73°)
OKLaboklab(29.69% 0.0532 -0.1046)
OKLCHoklch(29.69% 0.117 297)
XYZxyz(3.8808, 2.2783, 11.0595)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35195F #435F19
analogous
#19205F #35195F #58195F
triadic
#35195F #5F3519 #195F35
tetradic
#35195F #5F1920 #435F19 #195F58
square
#35195F #5F1920 #435F19 #195F58
split-complementary
#35195F #5F5819 #205F19
monochromatic
#0E0618 #1A0C2F #35195F #50268F #6B32C0

Accessibility & contrast

On white

14.43
#35195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#35195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35195F
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35195F#FFFFFF#000000##FFFFFF
##35195F1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#2A2A3A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #35195f;
/* rgb */ color: rgb(53, 25, 95);
/* oklch */ color: oklch(29.7% 0.117 297.0);
Tailwind
colors: {
  custom: {
    50: '#71588d',
    500: '#35195f',
    950: '#000000',
  },
}
SCSS
$custom: #35195f;
$custom-light: #71588d;
$custom-dark: #000000;
JSON
{
  "hex": "#35195f",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 264,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29689,
    "c": 0.11735,
    "h": 297
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

primary
#35195F
secondary
#73953F
accent
#E246A3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35195F

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

Preview Lab → · Contrast checker → · Palette generator →

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