#350F4B#350F4B

#350F4B is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.107 H 309.9°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#350F4B
RGBrgb(53, 15, 75)
HSLhsl(278, 67%, 18%)
HSVhsv(278, 80%, 29%)
CMYKcmyk(29.3%, 80%, 0%, 70.6%)
CIE-LABlab(13.27, 30.23, -28.93)
CIE-LCHlch(13.27, 41.84, 316.26°)
OKLaboklab(26.58% 0.0686 -0.0819)
OKLCHoklch(26.58% 0.107 309.9)
XYZxyz(2.9088, 1.6066, 6.8121)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350F4B #254B0F
analogous
#170F4B #350F4B #4B0F43
triadic
#350F4B #4B350F #0F4B35
tetradic
#350F4B #4B170F #254B0F #0F434B
square
#350F4B #4B170F #254B0F #0F434B
split-complementary
#350F4B #434B0F #0F4B17
monochromatic
#12051A #12051A #350F4B #59197E #7D23B1

Accessibility & contrast

On white

15.89
#350F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#350F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #350F4B
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350F4B#FFFFFF#000000##FFFFFF
##350F4B1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204D
Deuteranopia (green-blind)
#04234A
Tritanopia (blue-blind)
#321D2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #350f4b;
/* rgb */ color: rgb(53, 15, 75);
/* oklch */ color: oklch(26.6% 0.107 309.9);
Tailwind
colors: {
  custom: {
    50: '#6f517e',
    500: '#350f4b',
    950: '#000000',
  },
}
SCSS
$custom: #350f4b;
$custom-light: #6f517e;
$custom-dark: #000000;
JSON
{
  "hex": "#350f4b",
  "rgb": {
    "r": 53,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 278,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26578,
    "c": 0.10684,
    "h": 309.9
  },
  "luminance": 0.01607
}

Semantic roles & 50–950 ramp

primary
#350F4B
secondary
#508530
accent
#EA3E7D
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #350F4B

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

Preview Lab → · Contrast checker → · Palette generator →

#350F4B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva