#35125B#35125B

#35125B is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.122 H 300.5°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#35125B
RGBrgb(53, 18, 91)
HSLhsl(269, 67%, 21%)
HSVhsv(269, 80%, 36%)
CMYKcmyk(41.8%, 80.2%, 0%, 64.3%)
CIE-LABlab(15.19, 33.02, -36.70)
CIE-LCHlch(15.19, 49.37, 311.98°)
OKLaboklab(28.38% 0.0617 -0.1048)
OKLCHoklch(28.38% 0.122 300.5)
XYZxyz(3.5724, 1.9448, 10.0827)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35125B #385B12
analogous
#12145B #35125B #5A125B
triadic
#35125B #5B3512 #125B35
tetradic
#35125B #5B1214 #385B12 #125B5A
square
#35125B #5B1214 #385B12 #125B5A
split-complementary
#35125B #5B5A12 #145B12
monochromatic
#0F051A #170828 #35125B #531C8E #7126C1

Accessibility & contrast

On white

15.12
#35125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35125B
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35125B#FFFFFF#000000##FFFFFF
##35125B1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#2C2535
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #35125b;
/* rgb */ color: rgb(53, 18, 91);
/* oklch */ color: oklch(28.4% 0.122 300.5);
Tailwind
colors: {
  custom: {
    50: '#71548a',
    500: '#35125b',
    950: '#000000',
  },
}
SCSS
$custom: #35125b;
$custom-light: #71548a;
$custom-dark: #000000;
JSON
{
  "hex": "#35125b",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 268.767,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28378,
    "c": 0.12161,
    "h": 300.5
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#35125B
secondary
#669335
accent
#EA3E97
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35125B

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

Preview Lab → · Contrast checker → · Palette generator →

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