#38209E#38209E

#38209E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.187 H 281.0°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#38209E
RGBrgb(56, 32, 158)
HSLhsl(251, 66%, 37%)
HSVhsv(251, 80%, 62%)
CMYKcmyk(64.6%, 79.7%, 0%, 38%)
CIE-LABlab(24.77, 46.24, -63.70)
CIE-LCHlch(24.77, 78.71, 305.98°)
OKLaboklab(37.22% 0.0356 -0.1838)
OKLCHoklch(37.22% 0.187 281)
XYZxyz(8.3170, 4.3418, 32.7409)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38209E #869E20
analogous
#20479E #38209E #77209E
triadic
#38209E #9E3820 #209E38
tetradic
#38209E #9E2047 #869E20 #209E77
square
#38209E #9E2047 #869E20 #209E77
split-complementary
#38209E #9E7720 #479E20
monochromatic
#140B38 #26166B #38209E #4A2AD1 #745BDE

Accessibility & contrast

On white

11.24
#38209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#38209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38209E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38209E#FFFFFF#000000##FFFFFF
##38209E1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #38209e;
/* rgb */ color: rgb(56, 32, 158);
/* oklch */ color: oklch(37.2% 0.187 281.0);
Tailwind
colors: {
  custom: {
    50: '#7d60bc',
    500: '#38209e',
    950: '#000000',
  },
}
SCSS
$custom: #38209e;
$custom-light: #7d60bc;
$custom-dark: #000000;
JSON
{
  "hex": "#38209e",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 251.429,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37216,
    "c": 0.18724,
    "h": 281
  },
  "luminance": 0.04342
}

Semantic roles & 50–950 ramp

primary
#38209E
secondary
#AEC258
accent
#E93FC9
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #38209E

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

Preview Lab → · Contrast checker → · Palette generator →

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