#35125A#35125A

#35125A is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.120 H 301.0°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#35125A
RGBrgb(53, 18, 90)
HSLhsl(269, 67%, 21%)
HSVhsv(269, 80%, 35%)
CMYKcmyk(41.1%, 80%, 0%, 64.7%)
CIE-LABlab(15.10, 32.75, -36.18)
CIE-LCHlch(15.10, 48.80, 312.15°)
OKLaboklab(28.29% 0.062 -0.1033)
OKLCHoklch(28.29% 0.12 301)
XYZxyz(3.5295, 1.9277, 9.8570)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35125A #375A12
analogous
#12135A #35125A #59125A
triadic
#35125A #5A3512 #125A35
tetradic
#35125A #5A1213 #375A12 #125A59
square
#35125A #5A1213 #375A12 #125A59
split-complementary
#35125A #5A5912 #135A12
monochromatic
#0F051A #170827 #35125A #531C8D #7126C0

Accessibility & contrast

On white

15.16
#35125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#35125A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35125A
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35125A#FFFFFF#000000##FFFFFF
##35125A1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002559
Tritanopia (blue-blind)
#2D2435
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #35125a;
/* rgb */ color: rgb(53, 18, 90);
/* oklch */ color: oklch(28.3% 0.120 301.0);
Tailwind
colors: {
  custom: {
    50: '#715489',
    500: '#35125a',
    950: '#000000',
  },
}
SCSS
$custom: #35125a;
$custom-light: #715489;
$custom-dark: #000000;
JSON
{
  "hex": "#35125a",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 269.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28285,
    "c": 0.12043,
    "h": 301
  },
  "luminance": 0.01928
}

Semantic roles & 50–950 ramp

primary
#35125A
secondary
#659335
accent
#EA3E96
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35125A

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

Preview Lab → · Contrast checker → · Palette generator →

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