#30263C#30263C

#30263C is a dark, muted violet. Relative luminance 0.023; OKLCH L 29.0% C 0.041 H 304.8°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#30263C
RGBrgb(48, 38, 60)
HSLhsl(267, 22%, 19%)
HSVhsv(267, 37%, 24%)
CMYKcmyk(20%, 36.7%, 0%, 76.5%)
CIE-LABlab(17.18, 10.05, -12.35)
CIE-LCHlch(17.18, 15.92, 309.12°)
OKLaboklab(29% 0.0236 -0.034)
OKLCHoklch(29% 0.041 304.8)
XYZxyz(2.7275, 2.3409, 4.5822)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30263C #323C26
analogous
#26273C #30263C #3B263C
triadic
#30263C #3C3026 #263C30
tetradic
#30263C #3C2627 #323C26 #263C3B
square
#30263C #3C2627 #323C26 #263C3B
split-complementary
#30263C #3C3B26 #273C26
monochromatic
#0F0C13 #120E17 #30263C #4E3E61 #6C5587

Accessibility & contrast

On white

14.30
#30263C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#30263C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##30263C#FFFFFF#000000##FFFFFF
##30263C1.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)
#222A3D
Deuteranopia (green-blind)
#242A3B
Tritanopia (blue-blind)
#2E292E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #30263c;
/* rgb */ color: rgb(48, 38, 60);
/* oklch */ color: oklch(29.0% 0.041 304.8);
Tailwind
colors: {
  custom: {
    50: '#686071',
    500: '#30263c',
    950: '#000000',
  },
}
SCSS
$custom: #30263c;
$custom-light: #686071;
$custom-dark: #000000;
JSON
{
  "hex": "#30263c",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 60
  },
  "hsl": {
    "h": 267.273,
    "s": 22.449,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29001,
    "c": 0.04142,
    "h": 304.8
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

primary
#30263C
secondary
#606E50
accent
#BF6998
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #30263C

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

Preview Lab → · Contrast checker → · Palette generator →

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