#382295#382295

#382295 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.175 H 282.2°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#382295
RGBrgb(56, 34, 149)
HSLhsl(251, 63%, 36%)
HSVhsv(251, 77%, 58%)
CMYKcmyk(62.4%, 77.2%, 0%, 41.6%)
CIE-LABlab(24.17, 42.49, -59.16)
CIE-LCHlch(24.17, 72.83, 305.69°)
OKLaboklab(36.52% 0.0369 -0.1706)
OKLCHoklch(36.52% 0.175 282.2)
XYZxyz(7.6260, 4.1542, 28.8279)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382295 #7F9522
analogous
#224595 #382295 #712295
triadic
#382295 #953822 #229538
tetradic
#382295 #952245 #7F9522 #229571
square
#382295 #952245 #7F9522 #229571
split-complementary
#382295 #957122 #459522
monochromatic
#130B31 #251763 #382295 #4B2DC7 #7158D9

Accessibility & contrast

On white

11.47
#382295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#382295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382295
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382295#FFFFFF#000000##FFFFFF
##3822951.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #382295;
/* rgb */ color: rgb(56, 34, 149);
/* oklch */ color: oklch(36.5% 0.175 282.2);
Tailwind
colors: {
  custom: {
    50: '#7b60b5',
    500: '#382295',
    950: '#000000',
  },
}
SCSS
$custom: #382295;
$custom-light: #7b60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#382295",
  "rgb": {
    "r": 56,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 251.478,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36516,
    "c": 0.17455,
    "h": 282.2
  },
  "luminance": 0.04155
}

Semantic roles & 50–950 ramp

primary
#382295
secondary
#A9BD56
accent
#E642C7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #382295

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

Preview Lab → · Contrast checker → · Palette generator →

#382295 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva