#38207C#38207C

#38207C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.146 H 287.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#38207C
RGBrgb(56, 32, 124)
HSLhsl(256, 59%, 31%)
HSVhsv(256, 74%, 49%)
CMYKcmyk(54.8%, 74.2%, 0%, 51.4%)
CIE-LABlab(21.32, 35.83, -48.21)
CIE-LCHlch(21.32, 60.07, 306.62°)
OKLaboklab(33.75% 0.0447 -0.1386)
OKLCHoklch(33.75% 0.146 287.9)
XYZxyz(5.7844, 3.3287, 19.4026)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38207C #647C20
analogous
#20367C #38207C #66207C
triadic
#38207C #7C3820 #207C38
tetradic
#38207C #7C2036 #647C20 #207C66
square
#38207C #7C2036 #647C20 #207C66
split-complementary
#38207C #7C6620 #367C20
monochromatic
#0C071B #22134B #38207C #4E2DAD #6B47CF

Accessibility & contrast

On white

12.61
#38207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#38207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38207C
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38207C#FFFFFF#000000##FFFFFF
##38207C1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#1D384C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #38207c;
/* rgb */ color: rgb(56, 32, 124);
/* oklch */ color: oklch(33.7% 0.146 287.9);
Tailwind
colors: {
  custom: {
    50: '#765ea3',
    500: '#38207c',
    950: '#000000',
  },
}
SCSS
$custom: #38207c;
$custom-light: #765ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#38207c",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 255.652,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33746,
    "c": 0.14559,
    "h": 287.9
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#38207C
secondary
#94AF49
accent
#E246B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #38207C

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

Preview Lab → · Contrast checker → · Palette generator →

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