#38205D#38205D

#38205D is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.0% C 0.105 H 298.2°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#38205D
RGBrgb(56, 32, 93)
HSLhsl(264, 49%, 25%)
HSVhsv(264, 66%, 36%)
CMYKcmyk(39.8%, 65.6%, 0%, 63.5%)
CIE-LABlab(18.64, 26.35, -32.42)
CIE-LCHlch(18.64, 41.78, 309.10°)
OKLaboklab(30.99% 0.0494 -0.0922)
OKLCHoklch(30.99% 0.105 298.2)
XYZxyz(4.1227, 2.6640, 10.6508)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38205D #455D20
analogous
#20265D #38205D #57205D
triadic
#38205D #5D3820 #205D38
tetradic
#38205D #5D2026 #455D20 #205D57
square
#38205D #5D2026 #455D20 #205D57
split-complementary
#38205D #5D5720 #265D20
monochromatic
#0E0817 #1D102F #38205D #53308B #6F3FB8

Accessibility & contrast

On white

13.70
#38205D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38205D
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38205D#FFFFFF#000000##FFFFFF
##38205D1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#072D5C
Tritanopia (blue-blind)
#2F2D3B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #38205d;
/* rgb */ color: rgb(56, 32, 93);
/* oklch */ color: oklch(31.0% 0.105 298.2);
Tailwind
colors: {
  custom: {
    50: '#725d8b',
    500: '#38205d',
    950: '#000000',
  },
}
SCSS
$custom: #38205d;
$custom-light: #725d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#38205d",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 93
  },
  "hsl": {
    "h": 263.607,
    "s": 48.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30994,
    "c": 0.10455,
    "h": 298.2
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#38205D
secondary
#749147
accent
#D84FA2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #38205D

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

Preview Lab → · Contrast checker → · Palette generator →

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