#230B33#230B33

#230B33 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.077 H 308.8°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#230B33
RGBrgb(35, 11, 51)
HSLhsl(276, 65%, 12%)
HSVhsv(276, 78%, 20%)
CMYKcmyk(31.4%, 78.4%, 0%, 80%)
CIE-LABlab(7.55, 21.36, -21.24)
CIE-LCHlch(7.55, 30.12, 315.16°)
OKLaboklab(21.23% 0.0483 -0.0601)
OKLCHoklch(21.23% 0.077 308.8)
XYZxyz(1.4102, 0.8357, 3.2183)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B33 #1B330B
analogous
#0F0B33 #230B33 #330B2F
triadic
#230B33 #33230B #0B3323
tetradic
#230B33 #330F0B #1B330B #0B2F33
square
#230B33 #330F0B #1B330B #0B2F33
split-complementary
#230B33 #2F330B #0B330F
monochromatic
#110519 #110519 #230B33 #461665 #682198

Accessibility & contrast

On white

17.99
#230B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#230B33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230B33
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B33#FFFFFF#000000##FFFFFF
##230B331.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#051732
Tritanopia (blue-blind)
#21131D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #230b33;
/* rgb */ color: rgb(35, 11, 51);
/* oklch */ color: oklch(21.2% 0.077 308.8);
Tailwind
colors: {
  custom: {
    50: '#604c6b',
    500: '#230b33',
    950: '#000000',
  },
}
SCSS
$custom: #230b33;
$custom-light: #604c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#230b33",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 51
  },
  "hsl": {
    "h": 276,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21227,
    "c": 0.07711,
    "h": 308.8
  },
  "luminance": 0.00836
}

Semantic roles & 50–950 ramp

primary
#230B33
secondary
#46702A
accent
#E84083
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230B33

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

Preview Lab → · Contrast checker → · Palette generator →

#230B33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva