#30203C#30203C

#30203C is a dark, muted violet. Relative luminance 0.020; OKLCH L 27.7% C 0.054 H 309.5°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#30203C
RGBrgb(48, 32, 60)
HSLhsl(274, 30%, 18%)
HSVhsv(274, 47%, 24%)
CMYKcmyk(20%, 46.7%, 0%, 76.5%)
CIE-LABlab(15.42, 14.26, -15.09)
CIE-LCHlch(15.42, 20.76, 313.37°)
OKLaboklab(27.66% 0.0345 -0.0418)
OKLCHoklch(27.66% 0.054 309.5)
XYZxyz(2.5509, 1.9877, 4.5234)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30203C #2C3C20
analogous
#22203C #30203C #3C203A
triadic
#30203C #3C3020 #203C30
tetradic
#30203C #3C2220 #2C3C20 #203A3C
square
#30203C #3C2220 #2C3C20 #203A3C
split-complementary
#30203C #3A3C20 #203C22
monochromatic
#100B14 #100B14 #30203C #503564 #704B8C

Accessibility & contrast

On white

15.03
#30203C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#30203C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30203C
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30203C#FFFFFF#000000##FFFFFF
##30203C1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A263D
Deuteranopia (green-blind)
#1E273B
Tritanopia (blue-blind)
#2F242B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #30203c;
/* rgb */ color: rgb(48, 32, 60);
/* oklch */ color: oklch(27.7% 0.054 309.5);
Tailwind
colors: {
  custom: {
    50: '#695b72',
    500: '#30203c',
    950: '#000000',
  },
}
SCSS
$custom: #30203c;
$custom-light: #695b72;
$custom-dark: #000000;
JSON
{
  "hex": "#30203c",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 60
  },
  "hsl": {
    "h": 274.286,
    "s": 30.435,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27664,
    "c": 0.05421,
    "h": 309.5
  },
  "luminance": 0.01988
}

Semantic roles & 50–950 ramp

primary
#30203C
secondary
#596F48
accent
#C7618D
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #30203C

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

Preview Lab → · Contrast checker → · Palette generator →

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