#30105F#30105F

#30105F is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.128 H 295.0°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#30105F
RGBrgb(48, 16, 95)
HSLhsl(264, 71%, 22%)
HSVhsv(264, 83%, 37%)
CMYKcmyk(49.5%, 83.2%, 0%, 62.7%)
CIE-LABlab(14.54, 34.21, -40.47)
CIE-LCHlch(14.54, 53.00, 310.21°)
OKLaboklab(27.88% 0.0541 -0.116)
OKLCHoklch(27.88% 0.128 295)
XYZxyz(3.4692, 1.8251, 10.9937)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30105F #3F5F10
analogous
#10185F #30105F #58105F
triadic
#30105F #5F3010 #105F30
tetradic
#30105F #5F1018 #3F5F10 #105F58
square
#30105F #5F1018 #3F5F10 #105F58
split-complementary
#30105F #5F5810 #185F10
monochromatic
#0D041A #16072B #30105F #4A1993 #6522C8

Accessibility & contrast

On white

15.38
#30105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#30105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30105F
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30105F#FFFFFF#000000##FFFFFF
##30105F1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002561
Deuteranopia (green-blind)
#00235E
Tritanopia (blue-blind)
#222637
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #30105f;
/* rgb */ color: rgb(48, 16, 95);
/* oklch */ color: oklch(27.9% 0.128 295.0);
Tailwind
colors: {
  custom: {
    50: '#6e528d',
    500: '#30105f',
    950: '#000000',
  },
}
SCSS
$custom: #30105f;
$custom-light: #6e528d;
$custom-dark: #000000;
JSON
{
  "hex": "#30105f",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 264.304,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27884,
    "c": 0.12804,
    "h": 295
  },
  "luminance": 0.01825
}

Semantic roles & 50–950 ramp

primary
#30105F
secondary
#6F9833
accent
#EE3AA5
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #30105F

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

Preview Lab → · Contrast checker → · Palette generator →

#30105F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva