#38206E#38206E

#38206E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.4% C 0.127 H 291.9°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#38206E
RGBrgb(56, 32, 110)
HSLhsl(258, 55%, 28%)
HSVhsv(258, 71%, 43%)
CMYKcmyk(49.1%, 70.9%, 0%, 56.9%)
CIE-LABlab(20.04, 31.51, -41.31)
CIE-LCHlch(20.04, 51.95, 307.34°)
OKLaboklab(32.44% 0.0475 -0.1183)
OKLCHoklch(32.44% 0.127 291.9)
XYZxyz(4.9611, 2.9994, 15.0664)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38206E #566E20
analogous
#202F6E #38206E #5F206E
triadic
#38206E #6E3820 #206E38
tetradic
#38206E #6E202F #566E20 #206E5F
square
#38206E #6E202F #566E20 #206E5F
split-complementary
#38206E #6E5F20 #2F6E20
monochromatic
#0C0718 #20123F #38206E #502E9D #6A41C8

Accessibility & contrast

On white

13.13
#38206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#38206E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38206E
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38206E#FFFFFF#000000##FFFFFF
##38206E1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#273344
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #38206e;
/* rgb */ color: rgb(56, 32, 110);
/* oklch */ color: oklch(32.4% 0.127 291.9);
Tailwind
colors: {
  custom: {
    50: '#745d98',
    500: '#38206e',
    950: '#000000',
  },
}
SCSS
$custom: #38206e;
$custom-light: #745d98;
$custom-dark: #000000;
JSON
{
  "hex": "#38206e",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 258.462,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32443,
    "c": 0.12745,
    "h": 291.9
  },
  "luminance": 0.03
}

Semantic roles & 50–950 ramp

primary
#38206E
secondary
#86A248
accent
#DE4AB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #38206E

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

Preview Lab → · Contrast checker → · Palette generator →

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