#38205C#38205C

#38205C is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.9% C 0.103 H 298.6°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#38205C
RGBrgb(56, 32, 92)
HSLhsl(264, 48%, 24%)
HSVhsv(264, 65%, 36%)
CMYKcmyk(39.1%, 65.2%, 0%, 63.9%)
CIE-LABlab(18.57, 26.05, -31.88)
CIE-LCHlch(18.57, 41.17, 309.25°)
OKLaboklab(30.91% 0.0494 -0.0906)
OKLCHoklch(30.91% 0.103 298.6)
XYZxyz(4.0787, 2.6464, 10.4191)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38205C #445C20
analogous
#20265C #38205C #56205C
triadic
#38205C #5C3820 #205C38
tetradic
#38205C #5C2026 #445C20 #205C56
square
#38205C #5C2026 #445C20 #205C56
split-complementary
#38205C #5C5620 #265C20
monochromatic
#0E0817 #1C102F #38205C #543089 #6F40B7

Accessibility & contrast

On white

13.73
#38205C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#38205C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38205C
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38205C#FFFFFF#000000##FFFFFF
##38205C1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#082D5B
Tritanopia (blue-blind)
#302D3A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #38205c;
/* rgb */ color: rgb(56, 32, 92);
/* oklch */ color: oklch(30.9% 0.103 298.6);
Tailwind
colors: {
  custom: {
    50: '#725d8b',
    500: '#38205c',
    950: '#000000',
  },
}
SCSS
$custom: #38205c;
$custom-light: #725d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#38205c",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 92
  },
  "hsl": {
    "h": 264,
    "s": 48.387,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30914,
    "c": 0.10318,
    "h": 298.6
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#38205C
secondary
#739047
accent
#D850A2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #38205C

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

Preview Lab → · Contrast checker → · Palette generator →

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