#230E3F#230E3F

#230E3F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.088 H 298.8°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#230E3F
RGBrgb(35, 14, 63)
HSLhsl(266, 64%, 15%)
HSVhsv(266, 78%, 25%)
CMYKcmyk(44.4%, 77.8%, 0%, 75.3%)
CIE-LABlab(9.24, 23.16, -27.17)
CIE-LCHlch(9.24, 35.70, 310.44°)
OKLaboklab(22.78% 0.0426 -0.0775)
OKLCHoklch(22.78% 0.088 298.8)
XYZxyz(1.7472, 1.0303, 4.8085)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E3F #2A3F0E
analogous
#0E123F #230E3F #3B0E3F
triadic
#230E3F #3F230E #0E3F23
tetradic
#230E3F #3F0E12 #2A3F0E #0E3F3B
square
#230E3F #3F0E12 #2A3F0E #0E3F3B
split-complementary
#230E3F #3F3B0E #123F0E
monochromatic
#0E0619 #0E0619 #230E3F #3F1971 #5B24A3

Accessibility & contrast

On white

17.41
#230E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#230E3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230E3F
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E3F#FFFFFF#000000##FFFFFF
##230E3F1.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#1C1A25
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #230e3f;
/* rgb */ color: rgb(35, 14, 63);
/* oklch */ color: oklch(22.8% 0.088 298.8);
Tailwind
colors: {
  custom: {
    50: '#614e74',
    500: '#230e3f',
    950: '#000000',
  },
}
SCSS
$custom: #230e3f;
$custom-light: #614e74;
$custom-dark: #000000;
JSON
{
  "hex": "#230e3f",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 63
  },
  "hsl": {
    "h": 265.714,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22778,
    "c": 0.08843,
    "h": 298.8
  },
  "luminance": 0.0103
}

Semantic roles & 50–950 ramp

primary
#230E3F
secondary
#5A7A2F
accent
#E741A0
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #230E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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