#38205B#38205B

#38205B is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.8% C 0.102 H 299.1°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#38205B
RGBrgb(56, 32, 91)
HSLhsl(264, 48%, 24%)
HSVhsv(264, 65%, 36%)
CMYKcmyk(38.5%, 64.8%, 0%, 64.3%)
CIE-LABlab(18.49, 25.75, -31.33)
CIE-LCHlch(18.49, 40.56, 309.42°)
OKLaboklab(30.83% 0.0495 -0.089)
OKLCHoklch(30.83% 0.102 299.1)
XYZxyz(4.0353, 2.6291, 10.1904)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38205B #435B20
analogous
#20265B #38205B #56205B
triadic
#38205B #5B3820 #205B38
tetradic
#38205B #5B2026 #435B20 #205B56
square
#38205B #5B2026 #435B20 #205B56
split-complementary
#38205B #5B5620 #265B20
monochromatic
#0E0817 #1C102E #38205B #543088 #7040B6

Accessibility & contrast

On white

13.76
#38205B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38205B
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38205B#FFFFFF#000000##FFFFFF
##38205B1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#0A2D5A
Tritanopia (blue-blind)
#302D3A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #38205b;
/* rgb */ color: rgb(56, 32, 91);
/* oklch */ color: oklch(30.8% 0.102 299.1);
Tailwind
colors: {
  custom: {
    50: '#715d8a',
    500: '#38205b',
    950: '#000000',
  },
}
SCSS
$custom: #38205b;
$custom-light: #715d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#38205b",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 91
  },
  "hsl": {
    "h": 264.407,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30834,
    "c": 0.10179,
    "h": 299.1
  },
  "luminance": 0.02629
}

Semantic roles & 50–950 ramp

primary
#38205B
secondary
#728F47
accent
#D850A1
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #38205B

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

Preview Lab → · Contrast checker → · Palette generator →

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