#35125D#35125D

#35125D is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.124 H 299.6°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#35125D
RGBrgb(53, 18, 93)
HSLhsl(268, 68%, 22%)
HSVhsv(268, 81%, 36%)
CMYKcmyk(43%, 80.6%, 0%, 63.5%)
CIE-LABlab(15.38, 33.58, -37.74)
CIE-LCHlch(15.38, 50.51, 311.66°)
OKLaboklab(28.57% 0.0612 -0.1078)
OKLCHoklch(28.57% 0.124 299.6)
XYZxyz(3.6598, 1.9798, 10.5431)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35125D #3A5D12
analogous
#12155D #35125D #5B125D
triadic
#35125D #5D3512 #125D35
tetradic
#35125D #5D1215 #3A5D12 #125D5B
square
#35125D #5D1215 #3A5D12 #125D5B
split-complementary
#35125D #5D5B12 #155D12
monochromatic
#0F051A #18082A #35125D #521C90 #6F26C4

Accessibility & contrast

On white

15.04
#35125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#35125D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35125D
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35125D#FFFFFF#000000##FFFFFF
##35125D1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35125d;
/* rgb */ color: rgb(53, 18, 93);
/* oklch */ color: oklch(28.6% 0.124 299.6);
Tailwind
colors: {
  custom: {
    50: '#71548c',
    500: '#35125d',
    950: '#000000',
  },
}
SCSS
$custom: #35125d;
$custom-light: #71548c;
$custom-dark: #000000;
JSON
{
  "hex": "#35125d",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 268,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28567,
    "c": 0.12398,
    "h": 299.6
  },
  "luminance": 0.0198
}

Semantic roles & 50–950 ramp

primary
#35125D
secondary
#699535
accent
#EA3D9A
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35125D

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

Preview Lab → · Contrast checker → · Palette generator →

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