#301368#301368

#301368 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.136 H 291.0°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#301368
RGBrgb(48, 19, 104)
HSLhsl(260, 69%, 24%)
HSVhsv(260, 82%, 41%)
CMYKcmyk(53.8%, 81.7%, 0%, 59.2%)
CIE-LABlab(15.97, 35.39, -44.09)
CIE-LCHlch(15.97, 56.53, 308.75°)
OKLaboklab(29.16% 0.0486 -0.1267)
OKLCHoklch(29.16% 0.136 291)
XYZxyz(3.9498, 2.0934, 13.2900)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301368 #4B6813
analogous
#132068 #301368 #5B1368
triadic
#301368 #683013 #136830
tetradic
#301368 #681320 #4B6813 #13685B
square
#301368 #681320 #4B6813 #13685B
split-complementary
#301368 #685B13 #206813
monochromatic
#0C051A #180A34 #301368 #481C9C #6026CF

Accessibility & contrast

On white

14.80
#301368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#301368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301368
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301368#FFFFFF#000000##FFFFFF
##3013681.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002666
Tritanopia (blue-blind)
#1C2B3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #301368;
/* rgb */ color: rgb(48, 19, 104);
/* oklch */ color: oklch(29.2% 0.136 291.0);
Tailwind
colors: {
  custom: {
    50: '#6f5594',
    500: '#301368',
    950: '#000000',
  },
}
SCSS
$custom: #301368;
$custom-light: #6f5594;
$custom-dark: #000000;
JSON
{
  "hex": "#301368",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 260.471,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29162,
    "c": 0.13568,
    "h": 291
  },
  "luminance": 0.02094
}

Semantic roles & 50–950 ramp

primary
#301368
secondary
#7C9F37
accent
#EC3CB0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301368

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

Preview Lab → · Contrast checker → · Palette generator →

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