#64238F#64238F

#64238F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.170 H 307.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#64238F
RGBrgb(100, 35, 143)
HSLhsl(276, 61%, 35%)
HSVhsv(276, 76%, 56%)
CMYKcmyk(30.1%, 75.5%, 0%, 43.9%)
CIE-LABlab(29.15, 47.69, -47.11)
CIE-LCHlch(29.15, 67.03, 315.35°)
OKLaboklab(41.05% 0.1043 -0.1337)
OKLCHoklch(41.05% 0.17 307.9)
XYZxyz(10.8134, 5.8947, 26.5494)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64238F #4E8F23
analogous
#2E238F #64238F #8F2384
triadic
#64238F #8F6423 #238F64
tetradic
#64238F #8F2E23 #4E8F23 #23848F
square
#64238F #8F2E23 #4E8F23 #23848F
split-complementary
#64238F #848F23 #238F2E
monochromatic
#1F0B2D #42175E #64238F #862FC0 #A357D6

Accessibility & contrast

On white

9.64
#64238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#64238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64238F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64238F#FFFFFF#000000##FFFFFF
##64238F1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#5D3D57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #64238f;
/* rgb */ color: rgb(100, 35, 143);
/* oklch */ color: oklch(41.1% 0.170 307.9);
Tailwind
colors: {
  custom: {
    50: '#9565b1',
    500: '#64238f',
    950: '#000000',
  },
}
SCSS
$custom: #64238f;
$custom-light: #9565b1;
$custom-dark: #000000;
JSON
{
  "hex": "#64238f",
  "rgb": {
    "r": 100,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 276.111,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41052,
    "c": 0.16958,
    "h": 307.9
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#64238F
secondary
#7DBA54
accent
#E44484
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #64238F

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

Preview Lab → · Contrast checker → · Palette generator →

#64238F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva