#38209A#38209A

#38209A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.182 H 281.6°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#38209A
RGBrgb(56, 32, 154)
HSLhsl(252, 66%, 36%)
HSVhsv(252, 79%, 60%)
CMYKcmyk(63.6%, 79.2%, 0%, 39.6%)
CIE-LABlab(24.34, 45.04, -61.96)
CIE-LCHlch(24.34, 76.59, 306.01°)
OKLaboklab(36.79% 0.0368 -0.1787)
OKLCHoklch(36.79% 0.182 281.6)
XYZxyz(7.9783, 4.2063, 30.9570)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38209A #829A20
analogous
#20459A #38209A #75209A
triadic
#38209A #9A3820 #209A38
tetradic
#38209A #9A2045 #829A20 #209A75
square
#38209A #9A2045 #829A20 #209A75
split-complementary
#38209A #9A7520 #459A20
monochromatic
#130B35 #261567 #38209A #4A2BCD #7258DC

Accessibility & contrast

On white

11.40
#38209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#38209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38209A
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38209A#FFFFFF#000000##FFFFFF
##38209A1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #38209a;
/* rgb */ color: rgb(56, 32, 154);
/* oklch */ color: oklch(36.8% 0.182 281.6);
Tailwind
colors: {
  custom: {
    50: '#7c5fb9',
    500: '#38209a',
    950: '#000000',
  },
}
SCSS
$custom: #38209a;
$custom-light: #7c5fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#38209a",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 251.803,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3679,
    "c": 0.18249,
    "h": 281.6
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#38209A
secondary
#ABC056
accent
#E93FC7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #38209A

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

Preview Lab → · Contrast checker → · Palette generator →

#38209A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva