#30205E#30205E

#30205E is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.2% C 0.105 H 290.6°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#30205E
RGBrgb(48, 32, 94)
HSLhsl(255, 49%, 25%)
HSVhsv(255, 66%, 37%)
CMYKcmyk(48.9%, 66%, 0%, 63.1%)
CIE-LABlab(17.78, 24.69, -34.53)
CIE-LCHlch(17.78, 42.45, 305.57°)
OKLaboklab(30.17% 0.037 -0.0987)
OKLCHoklch(30.17% 0.105 290.6)
XYZxyz(3.7552, 2.4694, 10.8663)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30205E #4E5E20
analogous
#202F5E #30205E #4F205E
triadic
#30205E #5E3020 #205E30
tetradic
#30205E #5E202F #4E5E20 #205E4F
square
#30205E #5E202F #4E5E20 #205E4F
split-complementary
#30205E #5E4F20 #2F5E20
monochromatic
#0C0817 #191030 #30205E #47308C #5F3FB9

Accessibility & contrast

On white

14.06
#30205E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#30205E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30205E
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30205E#FFFFFF#000000##FFFFFF
##30205E1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#222E3B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #30205e;
/* rgb */ color: rgb(48, 32, 94);
/* oklch */ color: oklch(30.2% 0.105 290.6);
Tailwind
colors: {
  custom: {
    50: '#6d5c8c',
    500: '#30205e',
    950: '#000000',
  },
}
SCSS
$custom: #30205e;
$custom-light: #6d5c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#30205e",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 94
  },
  "hsl": {
    "h": 255.484,
    "s": 49.206,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30169,
    "c": 0.10537,
    "h": 290.6
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#30205E
secondary
#7F9247
accent
#D94FB5
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #30205E

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

Preview Lab → · Contrast checker → · Palette generator →

#30205E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva