#382385#382385

#382385 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.154 H 285.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#382385
RGBrgb(56, 35, 133)
HSLhsl(253, 58%, 33%)
HSVhsv(253, 74%, 52%)
CMYKcmyk(57.9%, 73.7%, 0%, 47.8%)
CIE-LABlab(22.78, 36.95, -51.50)
CIE-LCHlch(22.78, 63.38, 305.66°)
OKLaboklab(35.05% 0.04 -0.1482)
OKLCHoklch(35.05% 0.154 285.1)
XYZxyz(6.4643, 3.7359, 22.5662)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382385 #708523
analogous
#233F85 #382385 #692385
triadic
#382385 #853823 #238538
tetradic
#382385 #85233F #708523 #238569
square
#382385 #85233F #708523 #238569
split-complementary
#382385 #856923 #3F8523
monochromatic
#0F0924 #241655 #382385 #4C30B5 #6D51D1

Accessibility & contrast

On white

12.02
#382385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#382385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382385
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382385#FFFFFF#000000##FFFFFF
##3823851.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#133D51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #382385;
/* rgb */ color: rgb(56, 35, 133);
/* oklch */ color: oklch(35.0% 0.154 285.1);
Tailwind
colors: {
  custom: {
    50: '#7860a9',
    500: '#382385',
    950: '#000000',
  },
}
SCSS
$custom: #382385;
$custom-light: #7860a9;
$custom-dark: #000000;
JSON
{
  "hex": "#382385",
  "rgb": {
    "r": 56,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 252.857,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35048,
    "c": 0.15352,
    "h": 285.1
  },
  "luminance": 0.03736
}

Semantic roles & 50–950 ramp

primary
#382385
secondary
#9FB54F
accent
#E246C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #382385

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

Preview Lab → · Contrast checker → · Palette generator →

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