#30263F#30263F

#30263F is a dark, muted violet. Relative luminance 0.024; OKLCH L 29.2% C 0.046 H 302.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#30263F
RGBrgb(48, 38, 63)
HSLhsl(264, 25%, 20%)
HSVhsv(264, 40%, 25%)
CMYKcmyk(23.8%, 39.7%, 0%, 75.3%)
CIE-LABlab(17.34, 10.90, -14.20)
CIE-LCHlch(17.34, 17.90, 307.50°)
OKLaboklab(29.17% 0.0246 -0.0393)
OKLCHoklch(29.17% 0.046 302)
XYZxyz(2.8091, 2.3735, 5.0118)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30263F #353F26
analogous
#26293F #30263F #3D263F
triadic
#30263F #3F3026 #263F30
tetradic
#30263F #3F2629 #353F26 #263F3D
square
#30263F #3F2629 #353F26 #263F3D
split-complementary
#30263F #3F3D26 #293F26
monochromatic
#0F0C13 #130F19 #30263F #4D3D65 #6A548B

Accessibility & contrast

On white

14.24
#30263F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30263F
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30263F#FFFFFF#000000##FFFFFF
##30263F1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#222B3E
Tritanopia (blue-blind)
#2D2A2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #30263f;
/* rgb */ color: rgb(48, 38, 63);
/* oklch */ color: oklch(29.2% 0.046 302.0);
Tailwind
colors: {
  custom: {
    50: '#696074',
    500: '#30263f',
    950: '#000000',
  },
}
SCSS
$custom: #30263f;
$custom-light: #696074;
$custom-dark: #000000;
JSON
{
  "hex": "#30263f",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 63
  },
  "hsl": {
    "h": 264,
    "s": 24.752,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29168,
    "c": 0.04633,
    "h": 302
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#30263F
secondary
#647150
accent
#C1679D
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #30263F

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

Preview Lab → · Contrast checker → · Palette generator →

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