#30263A#30263A

#30263A is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.9% C 0.038 H 307.0°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#30263A
RGBrgb(48, 38, 58)
HSLhsl(270, 21%, 19%)
HSVhsv(270, 34%, 23%)
CMYKcmyk(17.2%, 34.5%, 0%, 77.3%)
CIE-LABlab(17.08, 9.49, -11.11)
CIE-LCHlch(17.08, 14.62, 310.51°)
OKLaboklab(28.89% 0.023 -0.0305)
OKLCHoklch(28.89% 0.038 307)
XYZxyz(2.6756, 2.3201, 4.3090)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30263A #303A26
analogous
#26263A #30263A #3A263A
triadic
#30263A #3A3026 #263A30
tetradic
#30263A #3A2626 #303A26 #263A3A
square
#30263A #3A2626 #303A26 #263A3A
split-complementary
#30263A #3A3A26 #263A26
monochromatic
#0F0C12 #110E15 #30263A #4F3E5F #6D5684

Accessibility & contrast

On white

14.34
#30263A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#30263A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30263A
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30263A#FFFFFF#000000##FFFFFF
##30263A1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222A3B
Deuteranopia (green-blind)
#242A39
Tritanopia (blue-blind)
#2F292D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #30263a;
/* rgb */ color: rgb(48, 38, 58);
/* oklch */ color: oklch(28.9% 0.038 307.0);
Tailwind
colors: {
  custom: {
    50: '#686070',
    500: '#30263a',
    950: '#000000',
  },
}
SCSS
$custom: #30263a;
$custom-light: #686070;
$custom-dark: #000000;
JSON
{
  "hex": "#30263a",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 58
  },
  "hsl": {
    "h": 270,
    "s": 20.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28893,
    "c": 0.03816,
    "h": 307
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#30263A
secondary
#5E6C50
accent
#BD6A94
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #30263A

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

Preview Lab → · Contrast checker → · Palette generator →

#30263A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva