#301969#301969

#301969 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.130 H 289.3°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#301969
RGBrgb(48, 25, 105)
HSLhsl(257, 62%, 25%)
HSVhsv(257, 76%, 41%)
CMYKcmyk(54.3%, 76.2%, 0%, 58.8%)
CIE-LABlab(17.20, 32.50, -42.74)
CIE-LCHlch(17.20, 53.69, 307.25°)
OKLaboklab(30.05% 0.043 -0.1227)
OKLCHoklch(30.05% 0.13 289.3)
XYZxyz(4.1156, 2.3434, 13.5973)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301969 #526919
analogous
#192A69 #301969 #581969
triadic
#301969 #693019 #196930
tetradic
#301969 #69192A #526919 #196958
square
#301969 #69192A #526919 #196958
split-complementary
#301969 #695819 #2A6919
monochromatic
#0B0619 #190D38 #301969 #47259A #5D31CC

Accessibility & contrast

On white

14.30
#301969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#301969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301969
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301969#FFFFFF#000000##FFFFFF
##3019691.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#1B2E3F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #301969;
/* rgb */ color: rgb(48, 25, 105);
/* oklch */ color: oklch(30.1% 0.130 289.3);
Tailwind
colors: {
  custom: {
    50: '#6f5895',
    500: '#301969',
    950: '#000000',
  },
}
SCSS
$custom: #301969;
$custom-light: #6f5895;
$custom-dark: #000000;
JSON
{
  "hex": "#301969",
  "rgb": {
    "r": 48,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 257.25,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30054,
    "c": 0.13006,
    "h": 289.3
  },
  "luminance": 0.02344
}

Semantic roles & 50–950 ramp

primary
#301969
secondary
#839F3F
accent
#E543B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301969

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

Preview Lab → · Contrast checker → · Palette generator →

#301969 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva