#38209F#38209F

#38209F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.188 H 280.8°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#38209F
RGBrgb(56, 32, 159)
HSLhsl(251, 66%, 37%)
HSVhsv(251, 80%, 62%)
CMYKcmyk(64.8%, 79.9%, 0%, 37.6%)
CIE-LABlab(24.88, 46.55, -64.13)
CIE-LCHlch(24.88, 79.24, 305.97°)
OKLaboklab(37.32% 0.0353 -0.1851)
OKLCHoklch(37.32% 0.188 280.8)
XYZxyz(8.4034, 4.3763, 33.1960)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38209F #879F20
analogous
#20479F #38209F #78209F
triadic
#38209F #9F3820 #209F38
tetradic
#38209F #9F2047 #879F20 #209F78
square
#38209F #9F2047 #879F20 #209F78
split-complementary
#38209F #9F7820 #479F20
monochromatic
#140B39 #26166C #38209F #4A2AD2 #745BDE

Accessibility & contrast

On white

11.20
#38209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#38209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38209F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38209F#FFFFFF#000000##FFFFFF
##38209F1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38209f;
/* rgb */ color: rgb(56, 32, 159);
/* oklch */ color: oklch(37.3% 0.188 280.8);
Tailwind
colors: {
  custom: {
    50: '#7d60bd',
    500: '#38209f',
    950: '#000000',
  },
}
SCSS
$custom: #38209f;
$custom-light: #7d60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#38209f",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 251.339,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37323,
    "c": 0.18842,
    "h": 280.8
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#38209F
secondary
#AEC259
accent
#E93EC9
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #38209F

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

Preview Lab → · Contrast checker → · Palette generator →

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