#30135E#30135E

#30135E is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.123 H 294.7°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#30135E
RGBrgb(48, 19, 94)
HSLhsl(263, 66%, 22%)
HSVhsv(263, 80%, 37%)
CMYKcmyk(48.9%, 79.8%, 0%, 63.1%)
CIE-LABlab(14.97, 32.42, -39.11)
CIE-LCHlch(14.97, 50.80, 309.66°)
OKLaboklab(28.15% 0.0516 -0.1121)
OKLCHoklch(28.15% 0.123 294.7)
XYZxyz(3.4716, 1.9022, 10.7717)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30135E #415E13
analogous
#131C5E #30135E #56135E
triadic
#30135E #5E3013 #135E30
tetradic
#30135E #5E131C #415E13 #135E56
square
#30135E #5E131C #415E13 #135E56
split-complementary
#30135E #5E5613 #1C5E13
monochromatic
#0D0519 #16092B #30135E #4A1D91 #6428C4

Accessibility & contrast

On white

15.21
#30135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#30135E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30135E
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30135E#FFFFFF#000000##FFFFFF
##30135E1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00245D
Tritanopia (blue-blind)
#232737
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #30135e;
/* rgb */ color: rgb(48, 19, 94);
/* oklch */ color: oklch(28.2% 0.123 294.7);
Tailwind
colors: {
  custom: {
    50: '#6e548c',
    500: '#30135e',
    950: '#000000',
  },
}
SCSS
$custom: #30135e;
$custom-light: #6e548c;
$custom-dark: #000000;
JSON
{
  "hex": "#30135e",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 263.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28151,
    "c": 0.1234,
    "h": 294.7
  },
  "luminance": 0.01902
}

Semantic roles & 50–950 ramp

primary
#30135E
secondary
#719637
accent
#E93FA7
background
#F6F4F8
surface
#ECE8F0
border
#C7C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #30135E

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

Preview Lab → · Contrast checker → · Palette generator →

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