#35188A#35188A

#35188A is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.171 H 284.2°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#35188A
RGBrgb(53, 24, 138)
HSLhsl(255, 70%, 32%)
HSVhsv(255, 83%, 54%)
CMYKcmyk(61.6%, 82.6%, 0%, 45.9%)
CIE-LABlab(21.00, 43.74, -57.57)
CIE-LCHlch(21.00, 72.30, 307.22°)
OKLaboklab(33.88% 0.0419 -0.166)
OKLCHoklch(33.88% 0.171 284.2)
XYZxyz(6.3809, 3.2447, 24.3299)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35188A #6D8A18
analogous
#18348A #35188A #6E188A
triadic
#35188A #8A3518 #188A35
tetradic
#35188A #8A1834 #6D8A18 #188A6E
square
#35188A #8A1834 #6D8A18 #188A6E
split-complementary
#35188A #8A6E18 #348A18
monochromatic
#0D0622 #210F56 #35188A #4921BE #673FDE

Accessibility & contrast

On white

12.73
#35188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#35188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35188A
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35188A#FFFFFF#000000##FFFFFF
##35188A1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368D
Deuteranopia (green-blind)
#002F88
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #35188a;
/* rgb */ color: rgb(53, 24, 138);
/* oklch */ color: oklch(33.9% 0.171 284.2);
Tailwind
colors: {
  custom: {
    50: '#785aad',
    500: '#35188a',
    950: '#000000',
  },
}
SCSS
$custom: #35188a;
$custom-light: #785aad;
$custom-dark: #000000;
JSON
{
  "hex": "#35188a",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 255.263,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33881,
    "c": 0.17117,
    "h": 284.2
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#35188A
secondary
#9EBD40
accent
#ED3BC0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #35188A

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

Preview Lab → · Contrast checker → · Palette generator →

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