Indigo (survey)#380282

#380282 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.6% C 0.177 H 290.1°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Indigo (survey) — editorial page

Color values

HEX#380282
RGBrgb(56, 2, 130)
HSLhsl(265, 97%, 26%)
HSVhsv(265, 98%, 51%)
CMYKcmyk(56.9%, 98.5%, 0%, 49%)
CIE-LABlab(17.90, 49.37, -57.65)
CIE-LCHlch(17.90, 75.90, 310.58°)
OKLaboklab(31.58% 0.0606 -0.1658)
OKLCHoklch(31.58% 0.177 290.1)
XYZxyz(5.6807, 2.4956, 21.2971)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380282 #4C8202
analogous
#020C82 #380282 #780282
triadic
#380282 #823802 #028238
tetradic
#380282 #82020C #4C8202 #028278
square
#380282 #82020C #4C8202 #028278
split-complementary
#380282 #827802 #0C8202
monochromatic
#0D001E #1E0146 #380282 #5203BE #6C04FB

Accessibility & contrast

On white

14.01
#380282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#380282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380282
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380282#FFFFFF#000000##FFFFFF
##3802821.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E85
Deuteranopia (green-blind)
#002980
Tritanopia (blue-blind)
#19314A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #380282;
/* rgb */ color: rgb(56, 2, 130);
/* oklch */ color: oklch(31.6% 0.177 290.1);
Tailwind
colors: {
  custom: {
    50: '#7951a8',
    500: '#380282',
    950: '#000000',
  },
}
SCSS
$custom: #380282;
$custom-light: #7951a8;
$custom-dark: #000000;
JSON
{
  "hex": "#380282",
  "rgb": {
    "r": 56,
    "g": 2,
    "b": 130
  },
  "hsl": {
    "h": 265.313,
    "s": 96.97,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31581,
    "c": 0.17653,
    "h": 290.1
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#380282
secondary
#7CBC24
accent
#FF29A5
background
#F7F4FA
surface
#EEE7F4
border
#C9C3CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #380282

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

Preview Lab → · Contrast checker → · Palette generator →

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