#66238F#66238F

#66238F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.170 H 309.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#66238F
RGBrgb(102, 35, 143)
HSLhsl(277, 61%, 35%)
HSVhsv(277, 76%, 56%)
CMYKcmyk(28.7%, 75.5%, 0%, 43.9%)
CIE-LABlab(29.44, 48.08, -46.62)
CIE-LCHlch(29.44, 66.98, 315.88°)
OKLaboklab(41.32% 0.1071 -0.1322)
OKLCHoklch(41.32% 0.17 309)
XYZxyz(11.0374, 6.0102, 26.5599)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66238F #4C8F23
analogous
#30238F #66238F #8F2382
triadic
#66238F #8F6623 #238F66
tetradic
#66238F #8F3023 #4C8F23 #23828F
square
#66238F #8F3023 #4C8F23 #23828F
split-complementary
#66238F #828F23 #238F30
monochromatic
#200B2D #43175E #66238F #892FC0 #A657D6

Accessibility & contrast

On white

9.54
#66238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#66238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66238F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66238F#FFFFFF#000000##FFFFFF
##66238F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#02468D
Tritanopia (blue-blind)
#603C57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #66238f;
/* rgb */ color: rgb(102, 35, 143);
/* oklch */ color: oklch(41.3% 0.170 309.0);
Tailwind
colors: {
  custom: {
    50: '#9665b0',
    500: '#66238f',
    950: '#000000',
  },
}
SCSS
$custom: #66238f;
$custom-light: #9665b0;
$custom-dark: #000000;
JSON
{
  "hex": "#66238f",
  "rgb": {
    "r": 102,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 277.222,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41321,
    "c": 0.17016,
    "h": 309
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#66238F
secondary
#7BBA54
accent
#E44481
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #66238F

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

Preview Lab → · Contrast checker → · Palette generator →

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