#38209C#38209C

#38209C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.185 H 281.3°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#38209C
RGBrgb(56, 32, 156)
HSLhsl(252, 66%, 37%)
HSVhsv(252, 79%, 61%)
CMYKcmyk(64.1%, 79.5%, 0%, 38.8%)
CIE-LABlab(24.56, 45.64, -62.83)
CIE-LCHlch(24.56, 77.66, 306.00°)
OKLaboklab(37% 0.0362 -0.1813)
OKLCHoklch(37% 0.185 281.3)
XYZxyz(8.1463, 4.2735, 31.8416)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38209C #849C20
analogous
#20469C #38209C #76209C
triadic
#38209C #9C3820 #209C38
tetradic
#38209C #9C2046 #849C20 #209C76
square
#38209C #9C2046 #849C20 #209C76
split-complementary
#38209C #9C7620 #469C20
monochromatic
#140B36 #261669 #38209C #4A2ACF #7359DD

Accessibility & contrast

On white

11.32
#38209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#38209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38209C
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38209C#FFFFFF#000000##FFFFFF
##38209C1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #38209c;
/* rgb */ color: rgb(56, 32, 156);
/* oklch */ color: oklch(37.0% 0.185 281.3);
Tailwind
colors: {
  custom: {
    50: '#7c60ba',
    500: '#38209c',
    950: '#000000',
  },
}
SCSS
$custom: #38209c;
$custom-light: #7c60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#38209c",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 251.613,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37003,
    "c": 0.18487,
    "h": 281.3
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#38209C
secondary
#ACC157
accent
#E93FC8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #38209C

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

Preview Lab → · Contrast checker → · Palette generator →

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