#230B3F#230B3F

#230B3F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.093 H 299.9°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#230B3F
RGBrgb(35, 11, 63)
HSLhsl(268, 70%, 15%)
HSVhsv(268, 83%, 25%)
CMYKcmyk(44.4%, 82.5%, 0%, 75.3%)
CIE-LABlab(8.62, 24.91, -28.19)
CIE-LCHlch(8.62, 37.62, 311.46°)
OKLaboklab(22.33% 0.0462 -0.0805)
OKLCHoklch(22.33% 0.093 299.9)
XYZxyz(1.7098, 0.9555, 4.7960)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B3F #273F0B
analogous
#0B0D3F #230B3F #3D0B3F
triadic
#230B3F #3F230B #0B3F23
tetradic
#230B3F #3F0B0D #273F0B #0B3F3D
square
#230B3F #3F0B0D #273F0B #0B3F3D
split-complementary
#230B3F #3F3D0B #0D3F0B
monochromatic
#0E051A #0E051A #230B3F #401473 #5D1DA7

Accessibility & contrast

On white

17.63
#230B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#230B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230B3F
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B3F#FFFFFF#000000##FFFFFF
##230B3F1.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#1D1824
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230b3f;
/* rgb */ color: rgb(35, 11, 63);
/* oklch */ color: oklch(22.3% 0.093 299.9);
Tailwind
colors: {
  custom: {
    50: '#614c74',
    500: '#230b3f',
    950: '#000000',
  },
}
SCSS
$custom: #230b3f;
$custom-light: #614c74;
$custom-dark: #000000;
JSON
{
  "hex": "#230b3f",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 267.692,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22333,
    "c": 0.0928,
    "h": 299.9
  },
  "luminance": 0.00956
}

Semantic roles & 50–950 ramp

primary
#230B3F
secondary
#567C2A
accent
#ED3B9B
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #230B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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