#35185A#35185A

#35185A is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.1% C 0.112 H 299.4°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#35185A
RGBrgb(53, 24, 90)
HSLhsl(266, 58%, 22%)
HSVhsv(266, 73%, 35%)
CMYKcmyk(41.1%, 73.3%, 0%, 64.7%)
CIE-LABlab(16.25, 29.54, -34.32)
CIE-LCHlch(16.25, 45.28, 310.72°)
OKLaboklab(29.1% 0.0552 -0.0978)
OKLCHoklch(29.1% 0.112 299.4)
XYZxyz(3.6398, 2.1483, 9.8938)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35185A #3D5A18
analogous
#181C5A #35185A #56185A
triadic
#35185A #5A3518 #185A35
tetradic
#35185A #5A181C #3D5A18 #185A56
square
#35185A #5A181C #3D5A18 #185A56
split-complementary
#35185A #5A5618 #1C5A18
monochromatic
#0E0618 #190B2A #35185A #51258A #6E32BB

Accessibility & contrast

On white

14.69
#35185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#35185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35185A
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35185A#FFFFFF#000000##FFFFFF
##35185A1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#2D2837
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #35185a;
/* rgb */ color: rgb(53, 24, 90);
/* oklch */ color: oklch(29.1% 0.112 299.4);
Tailwind
colors: {
  custom: {
    50: '#705789',
    500: '#35185a',
    950: '#000000',
  },
}
SCSS
$custom: #35185a;
$custom-light: #705789;
$custom-dark: #000000;
JSON
{
  "hex": "#35185a",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 266.364,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29098,
    "c": 0.11234,
    "h": 299.4
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#35185A
secondary
#6C913D
accent
#E1479D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #35185A

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

Preview Lab → · Contrast checker → · Palette generator →

#35185A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva