#230336#230336

#230336 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.094 H 308.9°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#230336
RGBrgb(35, 3, 54)
HSLhsl(278, 89%, 11%)
HSVhsv(278, 94%, 21%)
CMYKcmyk(35.2%, 94.4%, 0%, 78.8%)
CIE-LABlab(6.22, 26.53, -25.57)
CIE-LCHlch(6.22, 36.85, 316.05°)
OKLaboklab(20.28% 0.0593 -0.0735)
OKLCHoklch(20.28% 0.094 308.9)
XYZxyz(1.3914, 0.6888, 3.5490)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230336 #163603
analogous
#090336 #230336 #36032F
triadic
#230336 #362303 #033623
tetradic
#230336 #360903 #163603 #032F36
square
#230336 #360903 #163603 #032F36
split-complementary
#230336 #2F3603 #033609
monochromatic
#13021D #13021D #230336 #490670 #6E09AA

Accessibility & contrast

On white

18.46
#230336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#230336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230336
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230336#FFFFFF#000000##FFFFFF
##2303361.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#001435
Tritanopia (blue-blind)
#200F1C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #230336;
/* rgb */ color: rgb(35, 3, 54);
/* oklch */ color: oklch(20.3% 0.094 308.9);
Tailwind
colors: {
  custom: {
    50: '#61476d',
    500: '#230336',
    950: '#000000',
  },
}
SCSS
$custom: #230336;
$custom-light: #61476d;
$custom-dark: #000000;
JSON
{
  "hex": "#230336",
  "rgb": {
    "r": 35,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 277.647,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20275,
    "c": 0.09441,
    "h": 308.9
  },
  "luminance": 0.00689
}

Semantic roles & 50–950 ramp

primary
#230336
secondary
#3F791C
accent
#FF2979
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #230336

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

Preview Lab → · Contrast checker → · Palette generator →

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