#38207B#38207B

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

Color values

HEX#38207B
RGBrgb(56, 32, 123)
HSLhsl(256, 59%, 30%)
HSVhsv(256, 74%, 48%)
CMYKcmyk(54.5%, 74%, 0%, 51.8%)
CIE-LABlab(21.22, 35.52, -47.73)
CIE-LCHlch(21.22, 59.50, 306.66°)
OKLaboklab(33.65% 0.0449 -0.1371)
OKLCHoklch(33.65% 0.144 288.1)
XYZxyz(5.7215, 3.3036, 19.0712)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38207B #637B20
analogous
#20357B #38207B #65207B
triadic
#38207B #7B3820 #207B38
tetradic
#38207B #7B2035 #637B20 #207B65
square
#38207B #7B2035 #637B20 #207B65
split-complementary
#38207B #7B6520 #357B20
monochromatic
#0C071A #22134A #38207B #4E2DAC #6A46CF

Accessibility & contrast

On white

12.64
#38207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#38207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38207B
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38207B#FFFFFF#000000##FFFFFF
##38207B1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#1E384B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #38207b;
/* rgb */ color: rgb(56, 32, 123);
/* oklch */ color: oklch(33.7% 0.144 288.1);
Tailwind
colors: {
  custom: {
    50: '#765ea2',
    500: '#38207b',
    950: '#000000',
  },
}
SCSS
$custom: #38207b;
$custom-light: #765ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#38207b",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 255.824,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3365,
    "c": 0.14431,
    "h": 288.1
  },
  "luminance": 0.03304
}

Semantic roles & 50–950 ramp

primary
#38207B
secondary
#93AE49
accent
#E246B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #38207B

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

Preview Lab → · Contrast checker → · Palette generator →

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