#230B32#230B32

#230B32 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.076 H 309.7°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#230B32
RGBrgb(35, 11, 50)
HSLhsl(277, 64%, 12%)
HSVhsv(277, 78%, 20%)
CMYKcmyk(30%, 78%, 0%, 80.4%)
CIE-LABlab(7.47, 21.06, -20.63)
CIE-LCHlch(7.47, 29.48, 315.60°)
OKLaboklab(21.14% 0.0484 -0.0583)
OKLCHoklch(21.14% 0.076 309.7)
XYZxyz(1.3884, 0.8270, 3.1035)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B32 #1A320B
analogous
#100B32 #230B32 #320B2E
triadic
#230B32 #32230B #0B3223
tetradic
#230B32 #32100B #1A320B #0B2E32
square
#230B32 #32100B #1A320B #0B2E32
split-complementary
#230B32 #2E320B #0B3210
monochromatic
#120619 #120619 #230B32 #461664 #692196

Accessibility & contrast

On white

18.02
#230B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230B32
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B32#FFFFFF#000000##FFFFFF
##230B321.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#061731
Tritanopia (blue-blind)
#21131D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #230b32;
/* rgb */ color: rgb(35, 11, 50);
/* oklch */ color: oklch(21.1% 0.076 309.7);
Tailwind
colors: {
  custom: {
    50: '#604c6a',
    500: '#230b32',
    950: '#000000',
  },
}
SCSS
$custom: #230b32;
$custom-light: #604c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#230b32",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 50
  },
  "hsl": {
    "h": 276.923,
    "s": 63.934,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21142,
    "c": 0.0758,
    "h": 309.7
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#230B32
secondary
#456F2A
accent
#E74181
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230B32

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

Preview Lab → · Contrast checker → · Palette generator →

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