#35238E#35238E

#35238E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.165 H 281.7°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#35238E
RGBrgb(53, 35, 142)
HSLhsl(250, 60%, 35%)
HSVhsv(250, 75%, 56%)
CMYKcmyk(62.7%, 75.4%, 0%, 44.3%)
CIE-LABlab(23.38, 39.36, -56.15)
CIE-LCHlch(23.38, 68.57, 305.03°)
OKLaboklab(35.67% 0.0335 -0.1619)
OKLCHoklch(35.67% 0.165 281.7)
XYZxyz(6.9502, 3.9114, 25.9747)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35238E #7C8E23
analogous
#23478E #35238E #6A238E
triadic
#35238E #8E3523 #238E35
tetradic
#35238E #8E2347 #7C8E23 #238E6A
square
#35238E #8E2347 #7C8E23 #238E6A
split-complementary
#35238E #8E6A23 #478E23
monochromatic
#100B2C #23175D #35238E #472FBF #6B56D5

Accessibility & contrast

On white

11.78
#35238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35238E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35238E#FFFFFF#000000##FFFFFF
##35238E1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #35238e;
/* rgb */ color: rgb(53, 35, 142);
/* oklch */ color: oklch(35.7% 0.165 281.7);
Tailwind
colors: {
  custom: {
    50: '#7860b0',
    500: '#35238e',
    950: '#000000',
  },
}
SCSS
$custom: #35238e;
$custom-light: #7860b0;
$custom-dark: #000000;
JSON
{
  "hex": "#35238e",
  "rgb": {
    "r": 53,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 250.093,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35671,
    "c": 0.16534,
    "h": 281.7
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#35238E
secondary
#A8B953
accent
#E444C9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #35238E

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

Preview Lab → · Contrast checker → · Palette generator →

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