#30083C#30083C

#30083C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.098 H 317.0°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#30083C
RGBrgb(48, 8, 60)
HSLhsl(286, 76%, 13%)
HSVhsv(286, 87%, 24%)
CMYKcmyk(20%, 86.7%, 0%, 76.5%)
CIE-LABlab(10.02, 28.62, -23.67)
CIE-LCHlch(10.02, 37.14, 320.41°)
OKLaboklab(23.7% 0.0715 -0.0666)
OKLCHoklch(23.7% 0.098 317)
XYZxyz(2.1212, 1.1284, 4.3802)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30083C #143C08
analogous
#16083C #30083C #3C082E
triadic
#30083C #3C3008 #083C30
tetradic
#30083C #3C1608 #143C08 #082E3C
square
#30083C #3C1608 #143C08 #082E3C
split-complementary
#30083C #2E3C08 #083C16
monochromatic
#16041B #16041B #30083C #5B0F72 #8616A8

Accessibility & contrast

On white

17.13
#30083C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#30083C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30083C
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30083C#FFFFFF#000000##FFFFFF
##30083C1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#091D3B
Tritanopia (blue-blind)
#2F1321
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #30083c;
/* rgb */ color: rgb(48, 8, 60);
/* oklch */ color: oklch(23.7% 0.098 317.0);
Tailwind
colors: {
  custom: {
    50: '#6b4c72',
    500: '#30083c',
    950: '#000000',
  },
}
SCSS
$custom: #30083c;
$custom-light: #6b4c72;
$custom-dark: #000000;
JSON
{
  "hex": "#30083c",
  "rgb": {
    "r": 48,
    "g": 8,
    "b": 60
  },
  "hsl": {
    "h": 286.154,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23703,
    "c": 0.09775,
    "h": 317
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#30083C
secondary
#397B25
accent
#F33561
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070108
muted
#7A777B

Preview Lab

Preview with #30083C

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

Preview Lab → · Contrast checker → · Palette generator →

#30083C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva