#30145D#30145D

#30145D is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.121 H 294.9°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#30145D
RGBrgb(48, 20, 93)
HSLhsl(263, 65%, 22%)
HSVhsv(263, 78%, 36%)
CMYKcmyk(48.4%, 78.5%, 0%, 63.5%)
CIE-LABlab(15.06, 31.60, -38.29)
CIE-LCHlch(15.06, 49.65, 309.53°)
OKLaboklab(28.19% 0.0509 -0.1097)
OKLCHoklch(28.19% 0.121 294.9)
XYZxyz(3.4443, 1.9189, 10.5427)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30145D #415D14
analogous
#141C5D #30145D #55145D
triadic
#30145D #5D3014 #145D30
tetradic
#30145D #5D141C #415D14 #145D55
square
#30145D #5D141C #415D14 #145D55
split-complementary
#30145D #5D5514 #1C5D14
monochromatic
#0D0519 #16092B #30145D #4A1F8F #642AC2

Accessibility & contrast

On white

15.18
#30145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#30145D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30145D
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30145D#FFFFFF#000000##FFFFFF
##30145D1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00255C
Tritanopia (blue-blind)
#232737
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #30145d;
/* rgb */ color: rgb(48, 20, 93);
/* oklch */ color: oklch(28.2% 0.121 294.9);
Tailwind
colors: {
  custom: {
    50: '#6e548c',
    500: '#30145d',
    950: '#000000',
  },
}
SCSS
$custom: #30145d;
$custom-light: #6e548c;
$custom-dark: #000000;
JSON
{
  "hex": "#30145d",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 263.014,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28185,
    "c": 0.12093,
    "h": 294.9
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#30145D
secondary
#719538
accent
#E840A7
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #30145D

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

Preview Lab → · Contrast checker → · Palette generator →

#30145D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva