#35238D#35238D

#35238D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.164 H 281.9°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#35238D
RGBrgb(53, 35, 141)
HSLhsl(250, 60%, 35%)
HSVhsv(250, 75%, 55%)
CMYKcmyk(62.4%, 75.2%, 0%, 44.7%)
CIE-LABlab(23.28, 39.04, -55.69)
CIE-LCHlch(23.28, 68.01, 305.03°)
OKLaboklab(35.57% 0.0337 -0.1606)
OKLCHoklch(35.57% 0.164 281.9)
XYZxyz(6.8754, 3.8815, 25.5810)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35238D #7B8D23
analogous
#23468D #35238D #6A238D
triadic
#35238D #8D3523 #238D35
tetradic
#35238D #8D2346 #7B8D23 #238D6A
square
#35238D #8D2346 #7B8D23 #238D6A
split-complementary
#35238D #8D6A23 #468D23
monochromatic
#100B2B #23175C #35238D #472FBE #6B55D5

Accessibility & contrast

On white

11.82
#35238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#35238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35238D
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35238D#FFFFFF#000000##FFFFFF
##35238D1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #35238d;
/* rgb */ color: rgb(53, 35, 141);
/* oklch */ color: oklch(35.6% 0.164 281.9);
Tailwind
colors: {
  custom: {
    50: '#7860af',
    500: '#35238d',
    950: '#000000',
  },
}
SCSS
$custom: #35238d;
$custom-light: #7860af;
$custom-dark: #000000;
JSON
{
  "hex": "#35238d",
  "rgb": {
    "r": 53,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 250.189,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35569,
    "c": 0.16408,
    "h": 281.9
  },
  "luminance": 0.03882
}

Semantic roles & 50–950 ramp

primary
#35238D
secondary
#A8B953
accent
#E344C8
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #35238D

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

Preview Lab → · Contrast checker → · Palette generator →

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