#30145F#30145F

#30145F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.4% C 0.123 H 294.1°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#30145F
RGBrgb(48, 20, 95)
HSLhsl(262, 65%, 23%)
HSVhsv(262, 79%, 37%)
CMYKcmyk(49.5%, 78.9%, 0%, 62.7%)
CIE-LABlab(15.25, 32.19, -39.32)
CIE-LCHlch(15.25, 50.81, 309.31°)
OKLaboklab(28.38% 0.0504 -0.1127)
OKLCHoklch(28.38% 0.123 294.1)
XYZxyz(3.5341, 1.9548, 11.0154)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30145F #435F14
analogous
#141E5F #30145F #55145F
triadic
#30145F #5F3014 #145F30
tetradic
#30145F #5F141E #435F14 #145F55
square
#30145F #5F141E #435F14 #145F55
split-complementary
#30145F #5F5514 #1E5F14
monochromatic
#0D0519 #16092C #30145F #4A1F92 #6329C4

Accessibility & contrast

On white

15.10
#30145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#30145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30145F
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30145F#FFFFFF#000000##FFFFFF
##30145F1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#222838
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #30145f;
/* rgb */ color: rgb(48, 20, 95);
/* oklch */ color: oklch(28.4% 0.123 294.1);
Tailwind
colors: {
  custom: {
    50: '#6e558d',
    500: '#30145f',
    950: '#000000',
  },
}
SCSS
$custom: #30145f;
$custom-light: #6e558d;
$custom-dark: #000000;
JSON
{
  "hex": "#30145f",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 262.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.2838,
    "c": 0.12344,
    "h": 294.1
  },
  "luminance": 0.01955
}

Semantic roles & 50–950 ramp

primary
#30145F
secondary
#739738
accent
#E840A9
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #30145F

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

Preview Lab → · Contrast checker → · Palette generator →

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